View unanswered posts | View active topics It is currently Fri Dec 27, 2024 8:42 am



Reply to topic  [ 38 posts ]  Go to page Previous  1, 2, 3  Next
 C++ 
Author Message
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: C++
so is the coding in CC simple or hard?

i think its hard seeing how long it takes for data to make new builds.


Mon Oct 01, 2007 4:59 am
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: C++
Fine then.

Code:
#include <iostream>

int main()
{
    std::cout<<"Yes or no? (1||0)\n";
    int choice;
    std::cin>>choice;
    if (choice == 1){std::cout<<"Hello";}
    if (choice == 0) {std::cout<<"Bye";}
    else {std::cout<<"PICK 1 OR 0 ladylike";}
    return 0;
}


Mon Oct 01, 2007 4:59 am
Profile
User avatar

Joined: Fri Dec 15, 2006 5:28 am
Posts: 978
Location: Texas
Reply with quote
Post Re: C++
whitty wrote:
so is the coding in CC simple or hard?

i think its hard seeing how long it takes for data to make new builds.


I think it's pretty easy, but then again I think coding is fun.


Mon Oct 01, 2007 5:01 am
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: C++
FGSFDS
Added a ♥♥♥♥ debug line, not sure I added it right.

Code:
#include <iostream>

int main()
{
    std::cout<<"Yes or no? (1||0)\n";
    int choice;
    std::cin>>choice;
    if (choice == 1){std::cout<<"Hello";}
    if (choice == 0) {std::cout<<"Bye";}
    else {std::cout<<"PICK 1 OR 0 ladylike";\n std::cout<<choice;}
    return 0;
}


Mon Oct 01, 2007 5:04 am
Profile
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: C++
lol coding in cc is easy only cuz we only need to know things like
Code:
filepath =
instancename = 
buyable = 1
,
and that. we still dont know what
Code:
depth = _

means.
so yea, im going to bed.


Mon Oct 01, 2007 5:05 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: C++
WHITTY

STOP MAKING SHITPOSTS IN THIS THREAD.


Mon Oct 01, 2007 5:08 am
Profile
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: C++
Grif wrote:
WHITTY

STOP MAKING SHITPOSTS IN THIS THREAD.

you're telling me that? i was ASKING QUESTIONS about c++.
you're trying to find a way to flame people and get your post count higher at the same time.


Mon Oct 01, 2007 5:21 am
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: C++
Actually neither of you have contributed to this thread in the least, and grif, watch yourself.


Mon Oct 01, 2007 5:22 am
Profile
User avatar

Joined: Thu Jul 19, 2007 11:31 am
Posts: 249
Location: Sweden, Hallstavik
Reply with quote
Post Re: C++
Quote:
#include <iostream>

using namespace std;

int main()
{
cout<<"Yes or no? (1||0)\n";
int choice;
cin>>choice;
switch(choice){
case 1:
cout<<"Hello";
case 0:
cout<<"Bye";
default:
cout<<"PICK 1 OR 0 ladylike";
main();
}
return 0;
}


Should work... (Seriously, use namespaces!)


Mon Oct 01, 2007 11:03 am
Profile WWW
User avatar

Joined: Fri Dec 15, 2006 5:28 am
Posts: 978
Location: Texas
Reply with quote
Post Re: C++
That quickly turned into a runaway program and threw my computer into the matrix.


Mon Oct 01, 2007 2:04 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: C++
Uh, there's not even enough space in this program to use namespaces, also, that loads the std library, and I don't even know if C++ has namespaces, except maybe some internal ones(which is why it's namespace std).


Mon Oct 01, 2007 2:53 pm
Profile
Banned
User avatar

Joined: Tue Feb 27, 2007 4:05 pm
Posts: 2527
Reply with quote
Post Re: C++
whitty wrote:
Grif wrote:
WHITTY

STOP MAKING SHITPOSTS IN THIS THREAD.

you're telling me that? i was ASKING QUESTIONS about c++.
you're trying to find a way to flame people and get your post count higher at the same time.
I think what would be a better idea would be waiting for Kelas's question to get answered, then ask your more generic questions.

Kelas has a specific (and probably time-sensitive) question, whereas you just have a general programming question related to CC.

Additionally, Kelas was here first. How about you let everyone deal with Kelas's problem--then yours?


Mon Oct 01, 2007 4:27 pm
Profile YIM

Joined: Sun Jun 24, 2007 6:13 am
Posts: 505
Reply with quote
Post Re: C++
Also, his questions are dumb. This are serious thred.


Mon Oct 01, 2007 10:04 pm
Profile
User avatar

Joined: Mon Apr 02, 2007 11:08 pm
Posts: 163
Location: Kansas
Reply with quote
Post Re: C++
whitty wrote:
so is the coding in CC simple or hard?

i think its hard seeing how long it takes for data to make new builds.


Yes whitty C++ is a difficult programming language compared to others. Game programming is difficult. Its even harder when you have to code the entire game engine from scratch. Data is going at a relitavely fast pace even with only a few coders. But he's doing fine. Maybe you should purchase a book about C or something and start learning about it early like me then move to C++ that way you understand it and know that you like it before you join a class on it. I have always been destined to program as an occupation.


Tue Oct 02, 2007 11:26 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: C++
C++ is only harder than other because it doen't do everything for you, and not everything is obvious in what it does.

Java is much simpler.

And slower.

Also; Kelas stopped posting.


Tue Oct 02, 2007 11:37 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 38 posts ]  Go to page Previous  1, 2, 3  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.059s | 13 Queries | GZIP : Off ]