Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 09-27-09   #1 (permalink)
Intel Overclocker
 
intel ati

Join Date: Oct 2004
Posts: 5,626

Rep: 238 Mikey122687 is acknowledged by manyMikey122687 is acknowledged by manyMikey122687 is acknowledged by many
Unique Rep: 176
FAQs Submitted: 2
Hardware Reviews: 5
Trader Rating: 48
Default Urgent - Need help with code

PHP Code:
                                   1
                              1    2    1
                         1    2    4    2    1
                    1    2    4    8    4    2    1
               1    2    4    8   16    8    4    2    1
          1    2    4    8   16   32   16    8    4    2    1
     1    2    4    8   16   32   64   32   16    8    4    2    1
1    2    4    8   16   32   64  128   64   32   16    8    4    2    1 
I need to write a program using a nested for loop. I have no clue how to do this, any help? It supposed to be like that

All i have so far is

PHP Code:
#include <iostream>
#include <cmath>
using namespace std;

int main ()
{
for (
double row=0row<7row++)
{
    for (
double col=07-row;)
        
cout << "     ";

            for(
double c 0<= rowc++)
                
cout << "     " << pow(2c);
}
    return 
0;

__________________


System: Main Rig
CPU
Intel C2Q 6600
Motherboard
DFI LP UT P35-T2R
Memory
GSkill F2-6400CL5D-4GBPQ
Graphics Card
Diamond 4870 1GB
Hard Drive
WD Raptor 74GB RAID0
Sound Card
Creative XFi Fatal1ty FPS
Power Supply
Silverstone Zeus 850W
Case
Lian Li V2000B
CPU cooling
TRUE 120
OS
Windows Vista Ultimate x64
Monitor
SAMSUNG 2253BW Black 22" LCD
Mikey122687 is offline   Reply With Quote
Old 09-27-09   #2 (permalink)
Folding Fanatic
 
xxbassplayerxx's Avatar
 
intel ati

Join Date: Jun 2009
Location: Louisville, Kentucky
Posts: 2,675

Rep: 172 xxbassplayerxx is acknowledged by manyxxbassplayerxx is acknowledged by many
Unique Rep: 147
Folding Team Rank: 665
Team Name: Team Mean Green
Trader Rating: 8
Default

I can't really remember this stuff. Is this C++ or Matlab? I took both last year.

Also, if you haven't gotten this by tomorrow, I'll be able to help. I have to study for a Thermo test now!
__________________
REPORT and move on.
Everyone, I have an urgent announcement to make: [PWN]Schubie is tricky.
Usually,
4650<3850<4670<3870<4770<4830<3870X2<4850<5770<487 0<4890<4770 CF<4850X2<4850 CF<5850<5870<5770 CF<4870X2<4870 CF<4890 CF<5850 CF<5970<5870 CF
Quote:
Originally Posted by G|F.E.A.D|Killa View Post
when its game time i tell my mom im going to go kill hookers and steal cars and kill cops... she says ok.

System: Miki <3
CPU
i7 920 @ 4.3GHz HT on
Motherboard
Gigabyte GA-EX58-UD4P
Memory
6GB OCZ Platinum 1600MHz
Graphics Card
Diamond XOC & Toxic 4890s
Hard Drive
WD Cavair 500GB & WD Black 1TB
Sound Card
Onboard
Power Supply
Corsair 1000HX
Case
HAF 932 Custom Painted White
CPU cooling
Enzotech Sapphire/EK NB/SB + Mosfet Blocks/MCR320
GPU cooling
Reference for Diamond, VaporX for Toxic
OS
Windows 7 Professional/nLite XP Professional
Monitor
Dell 22" @ 1680x1050
xxbassplayerxx is online now I fold for Overclock.net   Reply With Quote
Old 09-27-09   #3 (permalink)
Intel Overclocker
 
intel ati

Join Date: Oct 2004
Posts: 5,626

Rep: 238 Mikey122687 is acknowledged by manyMikey122687 is acknowledged by manyMikey122687 is acknowledged by many
Unique Rep: 176
FAQs Submitted: 2
Hardware Reviews: 5
Trader Rating: 48
Default

Its C++
__________________


System: Main Rig
CPU
Intel C2Q 6600
Motherboard
DFI LP UT P35-T2R
Memory
GSkill F2-6400CL5D-4GBPQ
Graphics Card
Diamond 4870 1GB
Hard Drive
WD Raptor 74GB RAID0
Sound Card
Creative XFi Fatal1ty FPS
Power Supply
Silverstone Zeus 850W
Case
Lian Li V2000B
CPU cooling
TRUE 120
OS
Windows Vista Ultimate x64
Monitor
SAMSUNG 2253BW Black 22" LCD
Mikey122687 is offline   Reply With Quote
Old 09-27-09   #4 (permalink)
Intel Overclocker
 
intel ati

Join Date: Oct 2004
Posts: 5,626

Rep: 238 Mikey122687 is acknowledged by manyMikey122687 is acknowledged by manyMikey122687 is acknowledged by many
Unique Rep: 176
FAQs Submitted: 2
Hardware Reviews: 5
Trader Rating: 48
Default

anyone?
__________________


System: Main Rig
CPU
Intel C2Q 6600
Motherboard
DFI LP UT P35-T2R
Memory
GSkill F2-6400CL5D-4GBPQ
Graphics Card
Diamond 4870 1GB
Hard Drive
WD Raptor 74GB RAID0
Sound Card
Creative XFi Fatal1ty FPS
Power Supply
Silverstone Zeus 850W
Case
Lian Li V2000B
CPU cooling
TRUE 120
OS
Windows Vista Ultimate x64
Monitor
SAMSUNG 2253BW Black 22" LCD
Mikey122687 is offline   Reply With Quote
Old 09-28-09   #5 (permalink)
4.0ghz
 
Chopes's Avatar
 
amd nvidia

Join Date: Jul 2005
Location: Maryland
Posts: 5,085

Rep: 287 Chopes is a proven memberChopes is a proven memberChopes is a proven member
Unique Rep: 196
FAQs Submitted: 18
Trader Rating: 11
Default

Solved elsewhere.
__________________

System: FX-57 Rig
CPU
AMD Athlon64 FX-57
Motherboard
DFI Lanparty NF4 SLI-DR
Memory
OCZ 2x1 GB 2-3-2-5
Graphics Card
EVGA 7950GX2
Hard Drive
74GB Raptor
Sound Card
Creative Audigy 2
Power Supply
680W Aspire
Case
Thermaltake Armor
CPU cooling
Apogee Waterblock
GPU cooling
Air
OS
Windows Vista Ultimate
Monitor
Acer AL2216W 22" Widescreen
Chopes is offline Overclocked Account Chopes's Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 09:12 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.11785 seconds with 8 queries