~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

~S.O.S.~

VOIVOD_We Carry On

Hmm...good one. I guess one more addition to my "rock favs". ;)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Blazing souls, morbid mantras, killed HUMANITY while creating an atomic bomb.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

comments -> documentation

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

chime

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

hmm, why did you put (char*) in brackets?

Its called casting . In this specific case its the casting of void pointer retuned by malloc to a pointer to a char.

also whats malloc? like what does the variable stand for? or are you calling by value?

A litte google would have answered your question nicely. Like this.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

rim

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Blazing sun, morbid mantras, killed humans while creating a ATOMIC BOMB.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

star -> limelight

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

After a while they all start looking the same considering the recent proliferation of something_new_here game in the Geek's Lounge...;)

But I guess they all are good.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

But I am already undead and enjoying myself pretty well....What more can I ask for ? ;)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

tree

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

far far away.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

BLAZING sun, morbid mantras, killed devils while creating a hit man.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

think as proper.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Cheerful is quality which many people lack.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

We have a strict policy against spammers...;)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

grey

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

You get someone who doesnt know who Ricky Gervais is...

I put in a coconut.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

son -> sun

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

eessdia

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Fall to Pieces -> Velvet Revolver

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

0 + 1 * 2 => 2

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Hi,

Thanks for the replies earlier, just downloaded the -Dev-C++ 5 from:

http://www.bloodshed.net/devcpp.html

I installed it with all the features just to make sure it works well. The thing is I have one project called Project1 and under this project there are two different files, first.cpp and second.cpp.

The first one has the following code:

#include <iostream>
 
using namespace std;
 
int main()
{
  cout<<"HEY, you, I'm alive! Oh, and Hello World!\n";
  cin.get();
}

The second one has the following code:

#include <iostream> 
 
using namespace std;
 
int main()                            // Most important part of the program!
{
  int age;                            // Need a variable...
 
  cout<<"Please input your age: ";    // Asks for age
  cin>> age;                          // The input is put in age
  cin.ignore();                       // Throw away enter
  if ( age < 100 ) {                  // If the age is less than 100
     cout<<"You are pretty young!\n"; // Just to show you it works...
  }
  else if ( age == 100 ) {            // I use else just to show an example 
     cout<<"You are old\n";           // Just to show you it works...
  }
  else {
    cout<<"You are really old\n";     // Executed if no other statement is
  }
  cin.get();
}

When I compile the first one or the second one, there comes an error message underneath the code window saying " multiple definition of `main' " and here are the last few lines of the compiler log:

first.o(.text+0x100):first.cpp: first defined here
collect2: ld returned 1 exit status
make.exe: *** [Project1.exe] Error 1
Execution terminated

Do …

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

explode -> implode

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Dying swans, TWISTED mantras, conjuring devils, promising a brave new world.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Wealth does not give you health.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

You get global warming.

I put in a hose.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Snake Charmer -> Rage Against The Machine

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

think you are

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Cults chant mantras, conjuring devils, promising BRAVE NEW WORLD.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

mischief -> prank

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Cults chant MANTRAS, pagan devils promising newborns.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

You get a to scrape the sky.

I put in a bucket of water.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

cos (0) * 100 + 0.0001 => 100.0001

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Pigs (Three different ones) - Pink Floyd

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

1 + 1 = 3


(New Math) :)

Not allowed, please stick to the rules.

169 / -1 => -169

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

atan(0) = infinity.

Hmm...counter reset....

3 / 2 + sin (PI / 6) => 2

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

the world a

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

plast

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

talent -> inborn

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

You get to drive on it.

I put in some cheese.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

I am mine - Perl Jam

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Spells CHANT dirty, pagan devilspromising newborns.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Infinity is what I am falling into.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

try to break.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

ussittaannonu

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

1.1978571669969891796072783721689e+100 * 0 => 0

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

It would be really good if you posted help in normal font colors and not use colors like red and blue which make the eyes of the reader bleed...And use code tags while posting code.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

What Aboy Science Of Stupidity

Nah...its not that cool... ;)