Beginners (Page 7)

Time and Rand Function
 
Is there exists a datatype "time_t"?If yes how/why do use it? Why do we pass time(NULL) in srand fu...
[1 reply] : http://www.cplusplus.com/reference/ctime/ http://en.cppreference.com/w... (by LB)
Information from user in form of options
 
Can you please tell me how we can ask information from user in form of options, like Press 0 for "st...
[2 replies] Last: Can you please make correction in this program and notify me about err... (by puneet28)
recipe for target 'GameStart.o' failed???
 
So when i run the ccode below that error pops up i have no idea what it means. here's the code: ...
[6 replies] Last: well for some reason nothing shows up when i compile and run i mean no... (by Nitrodev)
by h4ever
How to clear object?
 
I have object called Sources, which is member of Singleton S. std::vector<SRC> Sources; When I...
[15 replies] Last: Its OK, Ive found it http://blogs.msdn.com/b/saraford/archive/2007/08/... (by h4ever)
Tic-Tac-Toe.
 
Hi, I am trying to code a tic-tac-toe game, yet every time I attempt to change the turn of the chara...
[2 replies] Last: Ah, and there the problem lies! Thanks. (by JackMorrill)
My program is working, but I'm not sure why?
 
I am able to run my program, using a math function and a limits function. But I havn't included thei...
[4 replies] Last: Hello, I think most compilers are configured by default to link our p... (by deancorso)
by Ch1156
Help with Virtual function
 
Ok so Im writing a program with SFML that requires more than one window, creating another is as easy...
[11 replies] Last: Well I would rather just stick to this right now. Also so in your code... (by Ch1156)
StacksUsingLinkedList
 
hey guys i was trying to make this vector class this works fine but i have a few questions ...if...
[2 replies] Last: Thanks bro (by salman 123)
by BaneX
Reading out my answer
 
Hello. I'm learning c++ just for leisure As i was building my code, i came across a problem. ...
[1 reply] : I don't understand, you already have the code you want on line 18+19. (by LB)
Collision Help?
 
I'm making a maze game. It's simple. You control the camera movement as you search the maze. But the...
[no replies]
my stack class
 
hey guys i was trying to make this vector class this works fine but i have a few questions ...if...
[6 replies] Last: Thanks bro i'm gratefull to you ....... (by salman 123)
Operator overload
 
I am wondering how to correctly use overloading operator in this example. I want to set Mary == Susa...
[6 replies] Last: Thank you. I need to be more careful when I type. I am using a tablet ... (by JackieJ)
Integration code arrays help
 
I'm writing a code for integration to find the definite integral using the area of trapezoids. I wan...
[1 reply] : This looks correct to me, but it would be better to call integrate in ... (by dhayden)
String help
 
I'm trying to make a string code work but I can't seem to make it return the number of names in a st...
[4 replies] Last: Okay thank you. (by hellworld136)
Pass by value question
 
I'm doing a practice problem for C++ and the question is asking me what will the function below(int ...
[5 replies] Last: Opps didn't see all the new messages. Reading them now. I understand ... (by hellworld136)
Unlimited generator (1,2)
 
I want to make a program in SFML to make a spaceship fly around and dodge asteroids. This is my p...
[22 replies] Last: Sorry, I only know how to use vectors for like ints and stuff. Thanks... (by giblit)
Exam Grader
 
This is part of a class assignment. I can't get in touch with my teacher, so I have nowhere else to ...
[8 replies] Last: Awesome. giblit, thank you SO much! Still a few more touches I need to... (by mct1981)
Linkedlist
 
Guys if you plz help me i'm stuck here .... This is linked list and when i try to add second time t...
[5 replies] Last: Thanks very much bro.... (by salman 123)
SPOJ - Prime1
 
Hi I'm trying SPOJ Prime1 (http://www.spoj.com/problems/PRIME1/) where I need to write a segmented ...
[1 reply] : long long int first_multiple = m/primes * primes ; for (int j=first_... (by ne555)
Confused about pointers
 
ok so i grasp the essence of pointers,but what i find really confusing is what they actually hold. ...
[5 replies] Last: ohhh alright. thanks a lot for the replies. i finished my 3rd year in ... (by DAoliHVAR)
Pages: 1... 56789... 82
  Archived months: [jun2014]

Cannot post in this page. To post a new message, go to the first page.