General C++ Programming - May 2013 (Page 36)

the linklist doesn't work
 
#include <iostream> #include <stack> #include <windows.h> using namespace std; typedef struct node { int key; node*next; node(node*p, int m): next(p),k...
[1 reply] : #include <iostream> #include <stack> #include <windows.h> using names... (by DANNY123)
by ehab93
OpenGL Advise is needed
 
hi guys .. i wana to start in learning OpenGl , any advise that u can give , like eBooks, tutorials, must have previous knowledge, any thing will be much helpfu...
[3 replies] Last: youtube video tutorial is very easy and good http://www.youtube.com/wa... (by DANNY123)
by Jaycob
Video Game Cheat Help
 
I'm trying to recompile s0beit, a cheating mod for San Andreas Muliplayer. From what I've learned there's a vehicle recording/playback function that's disabled ...
[no replies]
end of semester crunch time and i need help
 
This program builds an array for sales people 1-10. The user enters the salesperson number and then enters the sales amount. Each salesperson may have multiple ...
[2 replies] Last: Immediately your problem is obvious while((person = STOP)) //You nee... (by Smac89)
Controlling User Input
 
Help. I am working on a final project that stimulates an ATM machine. My professor tested it and found that it causes an infinite loop if he entered a charact...
[2 replies] Last: I am trying to control the input of characters anyway. It is actually... (by aliciamarie)
What does this mean?
 
"The separation of the interface to a class from its implementation is crucial to good C++ programming" This sentence means that the class methods should be ...
[3 replies] Last: Thanks :D (by Anmol444)
by Aceix
Is memory freed automatically in wxWidgets?
 
When using wxWidgets, i am tempted to deallocate memory using delete in the destructor, but my programme crashes on closing. I try to do something like this:...
[3 replies] Last: Yeah thanks. Aceix. (by Aceix)
Small question
 
In this code: #include <type_traits> #include <iostream> int main() { int *p = (std::remove_reference<int&>::type *)0; p = p; /...
[8 replies] Last: Oh ok thanks :D (by Anmol444)
Can I please get some guidance ?
 
I have a c++ assignment that I need help with. I don't know much c++ b/c my teacher barely taught it. I gave it my best shot so far but I'm sure I'm not on the ...
[6 replies] Last: There's still a lot more to do. For example, I didn't do this Try w... (by firedraco)
Need help, I don't understand the error
 
This is the error i get: 1>------ Build started: Project: Employee and ProductionWorker Classes, Configuration: Debug Win32 ------ 1> worker.cpp 1>worker.ob...
[8 replies] Last: Get the entire line then parse it yourself. Look into the substr and f... (by firedraco)
thread safe class - queue of objects
 
Hi Guys, I am new to C++ programming and i have a small assignment. Can somebody help me with code on how to implement a thread safe class to manage a que...
[4 replies] Last: Thanks. I can use any libraries i want. If there is enough time, i ... (by rtaukoordass)
Your tutorial is brilliant
 
Hello all, Just like to say i've been reading through the tutorial on this site and it's great. I've also been reading C++ for dummies and it is good but i g...
[17 replies] Last: Please stop bumping this contentless thread. +1 Oops. ... (by Catfish4)
by wineo
SocketProgramming
 
hello im gonna build file_uploader that can upload file to filehoster like bitshare and i dont wanna use ftp .im wanna use http protocol and socket programming,...
[no replies]
converting from base 10 to base 4
 
i am converting a base 10 number to base 4, guide me in this case please.
[1 reply] : Ahh, you continue you quest: http://www.cplusplus.com/forum/general/10... (by keskiverto)
Insertion sort problem
 
Hello, Im trying to sort a filled linked list with random numbers. The function I have made doesnt work as it should. I can't see what is wrong, its not sorting...
[no replies]
How to alias struct ?
 
Hi all. I am working on a program which uses external hardware to acquire data. we have the option to use hardware from two different companies, each with it's...
[3 replies] Last: @andywestken This is exactly what I am trying to do. But later on. e.... (by dotrana)
How to store class info into an Array
 
So I have an array of my own class, "Restaurant," but I'm having a hard time figuring out how to store the info entered by the user into the array. In total, I...
[4 replies] Last: Now, if I do info .SetRating(), it takes in an int, so what I can't f... (by MikeyBoy)
/GL unexpected behaviour
 
Hello, i am working currently on a 3D C++ project. i am using Visual Studio 2012 Update 2 and newest DirectX SDK (June 2012). In a tick-function is a reattackt...
[no replies]
help needed for lagrange interpolation formula.
 
hi guys, i did a function for lagrange interpolation formula. However i`m stuck on how do i substitute values into the power here is my code snippet for...
[4 replies] Last: ah i see! thanks for your help! (by CLearner88)
by Cagdas
sample sorting code.
 
hi all, is that code below, efficient or fast enough for large amount of data and is it a quicksort algorithm? if it's a quicksort algorithm how can i ra...
[1 reply] : Maybe you should benchmark your code against what I wrote below. Repla... (by Bourgond Aries)
May 2013 Pages: 1... 3435363738... 47
  Archived months: [apr2013] [jun2013]

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