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

Perfection is what I aim for.

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

In AWK (shell script) (not exactly a language but..)

awk '{ for(i=1;i<11;i++) {print i} }'
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Here is the reference site.

Here is a small example:

#include <iostream>
#include <ctime>
using namespace std ;

int main( )
{
    char buffer[BUFSIZ] = { '\0' } ;
    time_t now = time( &now ) ;
    struct tm* local_time = new tm( ) ;
    local_time = localtime( &now ) ;

    strftime( buffer, BUFSIZ, "%d / %m / %Y", local_time ) ;
    cout << buffer ;
}
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

There are two ways you can achieve the feat: either call the function itself inside the if statement or store the bool returned by the function in a bool variable and check that variable in the if statement.

Eg.

bool is_prime = isPrime( number ) ;
if( is_prime == true)
   cout << "Prime" ;
else
   cout << "Not prime" ;

//OR
if( isPrime( number ) == true )
   cout << "Prime" ;
else
  cout << "Not prime" ;

Hope it helped, bye.

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

Love makes the world go round..

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

Yeah even I haven't changed a lot except that I have become more cooler, more appealing to girls, more serious, have given up on cigarettes and have developed a liking for grayscale... ;)

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

Post your entire code, only then can we pinpoint errors.

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

partners -> Wrestling

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

celebrations -> friends

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

day. So do

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

You get cheese balls

I put in your member certificate...

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

the decent talk..

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

My favourite "Yoda strikes back" ;)

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

You get a free ticket to Tibet.

I put in an alchemist.

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

Time and tide wait for no man.

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

you to take

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

toasty -> a toast

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

I agree, and the irony is that token efforts like this simply make people angry while allowing the real criminals to carry on, because they find loopholes and ways to bypass the system.

...and not to forget it gives the pirates the opportunity to laugh at other people saying "Now look who really has to get concerned with piracy laws.."

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

When I try to complie and run, it says it cannot open the "sper.dat" file.

No such error for me, the program seems to have found the file, only to crash for the cause of segmentation error.

Are you really including your sales.h file in your sales.c file and are all the files in the same directory as your project is ?

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

You get carbonic acid.

I put in a guitar.

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

it up ?

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

Cosco -> Cozy

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

Day and night matters no more for me.

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

I don't think there is any need to panic since there is a very slim chance that something like this would be implemented -- either this or the people making this law are really smoking something suspicious...

They just can't control the amout of piracy and illegal stuff on warez sites so to show that they are putting in some effort, they decide to go ahead and make this law. Ah..the politics...

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

Have you tried out one of the different versions of Ubuntu..*just say something to get the donut*

Where is my donut ? ;)

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

I don't think such a thing would be implemented..and what have they got to say about Youtube and other video sharing sites which allow the user to register, access the site and download all the illegal or ripped vidoes upped by others (not to mention the porn galore there).

With the kind of revenue Youtube is generating, shutting it down would be a well...

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

Another thing: in your paths, you're supposed to use double \\s to indicate that it's not an escape charecter! That could be the problem right there.

You can do the same thing with a single forward slash (/), its more portable.

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

Can all the Female members in this forum put up their best pics in the forum as attachements ?? I like to see how many computer babes are this forum ???

Damn..you have kept me waiting....when is it gonna start ? *stares at the computer screen...* :D

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

Million times I will say, are you crazy ? ;)

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

Way is where there is will.

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

Make a sincere attempt, post the code in the Java forum with proper description as to :

1. What is the code supposed to do ?
2. A sample run with the input and output values if the code is running and if not then the error messages.
3. If your code runs, what output are you getting ?
4. What kind of output was expected ?

Just make it easier for the other people to help you out and you would get your problem solved in no time.

Hope it helped, bye.

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

<insert a new box here> ;)

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

Welcome to Daniweb buddy and don't be afraid to ask questions here.

Feel free to query someone and you definately would get the answer.

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

I want to start programming PC Games that use lots of graphics. Which Programming language or languages are best suited for computer graphics programming and WHY?

PC games actually use a lot of graphics, what you might have wanted to say was that how to make cool commercial games. ;)

Whatever other people say about Java, it still stands that Java has a long way to go when it comes to core or commercial game programming. If you want to make a game which sells on Gamehouse for 12$ a copy, you are most welcome to use VB or Java.

But when it comes to games like Doom III, Halo II and others which blow the professional gaming senario to pieces, you can only dream of achieving it in Java or VB. Name a commercial 3d which has been made in Java or VB ?

As far as the currect situation stands, the core functionality (graphics engine ) is mostly made in C++ while the other gaming functionality can be implemented in Python or C++.

Python developers have actually gone out to prove that it has the power to be recognized as a game development langauge. Some games made in Python - Severance - Blade or Darkness and the famous Freedom Force by Sierra.

IMHO stick to C++ for the time being and you will be a happy man in the end.....

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

First of all welcome to Daniweb :D

Some points to be noted:

1. Don't bother creating your own 3d engine, most people make a wrong decision here and never reach the other side. Even the biggest of professionals use commercial 3d engines for making games, then why not you ?

2. If the level of expertise of your team is above average or in other words they are all pro's, consider using Ogre 3d as your game engine. Its a bit difficult to get a hang of it and unlike many graphics engines just provides core graphics support and lets you code the reamaining functionality, but on the upside, it lives up to the name of being the best free 3d engine out there.

3. If the expertise of your group is intermediate, consider using Irrlicht as your game engine. Along with graphics, it provides the basic functionality of input output, collission detection, particle effects, animation functionality coded in the engine itself. It will really make your life a bit easier.

4. However cool the coding may be, in the end its just a damn code with nothing to draw out oohs and aahs from the audience. The responsibility automatically comes on the graphics. Without the eye candy, your game would suck big time. Consider pulling in your team some good artists, modellers and animators before you start off making your game.

Repost if any more doubts or quries on how to kick start.

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

Shame on you.

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

Court -> Lawn Tennis

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

You get a postbox

I put in a candle.

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

Sky is the limit.

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

Hey btw, Best of Luck for your exams tomorrow and I hope you are joking when you said your last line ;)

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

I forgot to mention I'm using a trackpad on my laptop... perhaps a mouse would be better, but then again, I'm too cheap to buy a mouse.

Oops...( no its not Object Oriented Programming :D)

Didn't think of that, but still it would be possible just to do a little bit of paintbrush and text tool...

THen again, you need to be really adept at it...

Looks like Infaction is really afraid of his final exams, even his avatar has started studying....:D

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

death -> soul reaper

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

Man, I suck at that game... the best I could get was like 8000 yesterday...

Maybe you don't know how to handle the funny bunny...:D

Interesting. I see MS Paint in the background. You wouldn't have been trying to "doctor-up" the image, would you?

Na...you can't do such cool things in Paint, you need GIMP, Photoshop, or something like that...

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

Yeah, he is making every visible effort to bring down the Game development forum.

Not good Iamthwee...:(

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

Career is what a person must choose for himself.

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

Business sense is developed by practice and experience and not by getting a mere degree..

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

Want of all human beings don't get satisfied.

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

bad news -> catastrophe

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

Can such a

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

now really ? -> what you saying ?