Beginners - July 2013 (Page 26)

SDL
 
I use SDL on dev-c++ and I include sdl.h. I initialize SDL and set the screen size, quality, and all that stuff. Then I use SDl_Quit. Here is the SDL code. ...
[4 replies] Last: My log says it is. (by closed account NUj6URfi)
Last part of code.
 
When I build, I get this error message: There is no context in which this conversion is possible. Its the last structure I am having problems with. The miles an...
[2 replies] Last: Thank you very much. I've been trying my best with these programs and ... (by Boomers)
by geodud
Need help Connecting server to client
 
Hello I am making an MMORPG I have the Direct X SDK Maya and SQL server so the game is pretty good one thing I can't seem to figure out is how to make it mult...
[no replies]
What should I do next?
 
I've been studying C++ for 2 months now, I've gone through these topics, and know them pretty well: - The basics. (Variables, if/else if/else-statements, whi...
[2 replies] Last: Learn all about OOP. At least the basics. After that you're done going... (by ResidentBiscuit)
by elfeck
Is "new" required [inheritance]
 
Hello, I've got a very basic question for which I couldn't find an answer on google: Let's say I've got these two classes: class Base { }; cla...
[8 replies] Last: Is the const required in line 4? Why? only lvalue references to cons... (by Cubbi)
a bit urgent...
 
What is the final value of x after this code fragment is over..? We're nt looking at the lines before or after this code because that is independent and doesn'...
[2 replies] Last: I can't right now, or else I would. (by sinha2366)
Qt 5 and QtCreator -- Release Build Requires Debug DLLs
 
My project is Qt5.0.2. on Windows 7. No third party libs to link against, except quazip which is also built in release mode. I build in release mode. I execute ...
[no replies]
by leo255
Why use casting instead of just declaring the correct data type from the start?
 
Sorry for the dumb question...I'm learning about casting right now (doesn't seem too bad at all, to be honest). I'm wondering why you would need to use casting ...
[2 replies] Last: @leo255 I'm wondering why you would need to use casting when you coul... (by vlad from moscow)
No errors, just shows a blank black screen?
 
Whats wrong? #ifdef __APPLE__ #include <GLUT/glut.h> #else #include <GL/glut.h> #endif #include <stdlib.h> void ProcessSpecialKeys(int key, ...
[1 reply] : Anyone? :/ (by Johnny111111111)
Passing a struct with strings
 
I'm trying to write a code which takes a string and looks for one of three phrases in said line, then returns a string based on the results. Each line contains ...
[2 replies] Last: Your code is invalid. It would be simpler and better to write string... (by vlad from moscow)
empty for loop and strange if statement
 
Hello everyone! I am new in C++ programming community and of course I have a few questions to ask as a beginner. 1. In one closed topic on this forum, I've ...
[5 replies] Last: In this case this statement checks whether the input was successful. A... (by vlad from moscow)
Help Making Who Wants to be a Millionaire
 
Still new here, need help trying to figure this out. its for my school project due in a few hours. Still having a hard time with loops...i need to be able to as...
[2 replies] Last: okay here is where i am now after changing my code around a little. i... (by SoliceDreamer)
reading text from a file
 
Im trying to read text from a file and display it such as: Instructions 1. Blahblahblah 2. blahablahblah 3. blahblahblah As of right now the text appea...
[3 replies] Last: What is question (line 12)? Something like this is better than usi... (by Chervil)
GLUT
 
This will not rotate my triangle, I have tried putting it in different parts of the code, but still not a bit of progress, for some reason anytime I try to edit...
[1 reply] : BUMP (by Johnny111111111)
Iterals what does this mean
 
What does the following mean: The type of an integer literal depends on its value and notation. By default, decimal literals are signed whereas octal and hex...
[4 replies] Last: Guys thanks so much...I get it now thanks (by closed account EwCjE3v7)
What is a suffix and when is it used
 
What is a suffix and when is it used..Can someone give me examples. And literals .you cannot change literals ..what does that mean Like int x = 4..I don't...
[8 replies] Last: Oh ok..thanks (by closed account EwCjE3v7)
Overloaded postfix operator
 
Write your question here. I'm trying to have the overloaded postfix operator make day = 1 whenever its day 365 the first snipped is me creating the prototype, ...
[8 replies] Last: Wow thanks (by bigdog225)
Numbers in C++
 
Hello I want to know what does numbers like 0.0f stand for? Are they hexadecimal? And if yes, can anyone please tell me how to convert them to decimal? ...
[2 replies] Last: Thanks, but I didn't quite understand what you meant. Can you please e... (by The illusionist mirage)
by LM96
Analyzing lists of random numbers
 
What I need to do is wait until 5 of a certain type of number appear consecutively and then begin a counter according to what numbers appear after. I'm new t...
[5 replies] Last: Thanks ganado, ill try out the code when i get home. Metal, what i wan... (by LM96)
Book recommendations
 
As the title states, i am looking for a good book to help teach myself C++. I have taken a class in College but I feel it is so rudimentary knowledge of the lan...
[11 replies] Last: You can Download Free & Direct C++ Ebooks from below: The C++ Progra... (by mkxd771)
July 2013 Pages: 1... 2425262728... 53
  Archived months: [jun2013] [aug2013]

This is an archived page. To post a new message, go to the current page.