General C++ Programming - January 2014

Enet Help
 
So I've just been messing with enet trying to figure out how to make a server and client for a game....
[2 replies] Last: I'm using a library callled Enet. peers and event is all Enet stuff. e... (by Bingocat4)
programming practice and principles chapter 13 exercise 2
 
The exercise is: "Draw a box with rounded corners. Define a class box, consisting of four lines a...
[1 reply] : Since no one else is picking this up, I'll take a stab. I'm not set up... (by Duoas)
A class object isnt updated
 
I have a class called "Client", and a class called "Login" both are friends of each other (haha)....
[7 replies] Last: Make sure your testcase is self-contained and actually reproduces the ... (by ne555)
+help+ writing to .txt file, trouble with format
 
Question: So I want to send and store: words, their definition, synonyms, and part of speech, in a ...
[2 replies] Last: So you're suggesting to print in format I want write something like, ... (by MattTuck)
ERROR Copying array- pointers
 
I was trying to copy one array to another one of the same size, but when I execute the program all t...
[1 reply] : See an answer in your first post in the "Beginners" forum. (by kooth)
Adding intrest
 
In my Computer science class we need to create a program that looks like this. http://pho.to/4esUH ...
[2 replies] Last: You will want to use separate variables for your interest rate from ... (by David Nuttall)
by Ceset
SFML Game Development book example game
 
Hi everyone In game.h ResourceHolder<Textures::ID, sf::Texture> mTextures; I keep this file and ...
[4 replies] Last: Like i said i am working from SFML Game Development book but it does ... (by cire)
by ALOK R
vectors
 
Can we compare vectors with linked lists?
[4 replies] Last: thanks!! @Peter87 and Disch. (by ALOK R)
C++ forum renaissance!
 
During school, I didn't have class. I needed to be doing something educational. I felt creative so I...
[6 replies] Last: That was awesome @Disch !! (by ALOK R)
Access List<int> elements and size
 
Hi, I wrote this piece of code, basically, it is a vector of lists. But, I can't see why I'm not ...
[7 replies] Last: Ok, unsderstood. But, how will I do a vector of vectors dynamically? ... (by NeoKratox)
Is this syntatically legal and will it do what I want?
 
I am in the steps of writing a game, and I'm not sure how to go about loading images. Would this be ...
[8 replies] Last: That is cleaner & better. (by jsbrowndog2013)
Inheritence question
 
Hi, I began studying Inheritence and would like to ask a basic design question. I want to create a...
[15 replies] Last: Hi L B Thank you very much! You made it awesomely clear :)... (by jared11)
g++: command not found
 
Hi. I am getting started with Unix programming, but I am having difficulty compiling my programs. I ...
[5 replies] Last: Roberts-MacBook-Pro-2:~ drinkibird$ Looks like local machines promp... (by keskiverto)
Should I Use OpenGL Or DirectX? (1,2)
 
Greetings, After much research, I still haven't picked my choice in the treacherous question "Sho...
[27 replies] Last: I agree with most of the conversation going on here. Either learn both... (by NT3)
by vinbad
debug error
 
I am writing a code to read a file and break it into lines and characters but I am getting an error ...
[1 reply] : http://www.cplusplus.com/forum/general/112111/ char *a=new char(lin... (by ne555)
PLZ Help about interest calculator code
 
In Netbeans, create a new project (called, for example, "homework02"), for this assignment. Do not u...
[3 replies] Last: I would normally be the first to jump at helping, but I've grown tired... (by BHX)
Making games with C++
 
Hi. If you were to make games with C++, how would you go about doing that? I saw something called a...
[3 replies] Last: I cannot disagree more. Both SDL and SFML out of the box are useable. (by Avilius)
Error stack around the variable was corrupted
 
I have one problem with my code it's working until end of this program and program show this error: ...
[1 reply] : On line 25 you copy 100 bytes but Obsds is only sizeof(SDats) bytes. (by Peter87)
by Chubby
error on overload function
 
when i run this part of code i got llbd on xcode plus some random number... Cna someone help me out ...
[7 replies] Last: Eh, I don't think that's what parameters are meant for. If you really... (by long double main)
Sorry for asking all these pointer questions :P but...
 
Is this correct? class exampleClass { public: exampleClass(); type * returnAPointer(); //pretend t...
[5 replies] Last: Yes... that would be syntactically legal. However... again... when de... (by Disch)
January 2014 Pages: 123... 25
  Archived months: [dec2013] [feb2014]

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