General C++ Programming (Page 5)

by mvgnum
Pointer to Pointer program
Hello guys, I found this exercise online and i need to do it for my class. I have NO CLUE. Please he...
[3 replies] Last: I'm sorry to say that this is a really horrible assignment. It's so ba... (by dhayden)
Linking problem (undefined reference)
Hi my friends. I hope somebody can help me. I have included in my project (written in C++11) some ...
[2 replies] Last: My god !! Thanks you. You have resolved my problem in one second ! I d... (by danjiun)
OpenGL and Multithreading
Hi! I'll try to be short. I'm making my OpenGL application multithreaded, because I want to load re...
[6 replies] Last: Actually, since you mentioned tutorials, here's a good one: https://vu... (by JayhawkZombie)
by a10e29
SDL_RenderCopy Memory Leak?
Hi, void SDLToolBox::render(Coordinate myCoord, SDL_Rect* myRect, SDL_Texture* myTexture, bool fli...
[1 reply] : (by helios)
Can i do this to remove allocations
is this valid/stable method of passing pointers, may be a silly question but i need the memory on ...
[7 replies] Last: thanks (by KingCow)
Trigonometry Functions in C++
Is C++ in radians or degrees mode by default, and if in radians, how do i convert it into degrees?
[2 replies] Last: Trigonometric functions are in radians. 1 radian = 180/π degrees. ... (by integralfx)
Printing a double without a decimal point?
I want to print out the result of my output without a decimal. Essentially, like an int. I was looki...
[15 replies] Last: Cire I'm using your version of this. It's excellent. I also want it to... (by Anchises68)
by mark90
Q-Learning Example isn't running
Hello everyone,I have this q-learning example taken from the following website :http://mnemstudio.or...
[5 replies] Last: cire, thank you . Yes, my console window closed before I see any outp... (by mark90)
by bozmin
Using Pointers or variables
Hey, I am a beginner user of c++. and I have a question concerning pointers. Is there any defer...
[4 replies] Last: Between those two examples you just posted, ex1 is much better. I act... (by kevinkjt2000)
What is the best structure to store matrices for Finite Differences Methods?
Hi, I implemented the so-called Finite Differences Methods which consist on computing a value of a ...
[12 replies] Last: Thanks, Cire, that's certainly something to consider in the final mix. (by kemort)
by ZimCa
How to search faster in c++?
Here is my code : #include <iostream> #include <windows.h> using namespace std; int main() { ...
[6 replies] Last: system() runs a separate program. It has to find the program, allocate... (by dhayden)
practice finding/correcting errors
I am trying to practice finding and correcting errors. I have a decent knowledge about C++ but not e...
[4 replies] Last: i didn't think it was that picky with line 1, Compilers are nothin... (by doug4)
help me understand this piece of code
so i have this working piece of code that finds the max and min of an array and respectively assigns...
[6 replies] Last: You shouldn't need to use 'else if'. Just have two 'if' statements. ... (by dhayden)
convert wchar_t* to LPSTR {aka char*}
Hello, wchar_t buffer ; //wchar_t buffer = {0}; GetModuleBaseName(...
[4 replies] Last: if your prefer to write your own conversions rather than using librari... (by KingCow)
C++ Program Help.
I need help understanding the C++ code instructions. TempConvert(); In this challenge you wil...
[3 replies] Last: As TheSmallGuy said, we do not make your homework, either you post a c... (by oren drobitsky)
C++ Program
I also need help understanding the following code instructions for C++. AgeConvert(); In this ch...
[2 replies] Last: How long have you been learning c++? (by TheSmallGuy)
Creating a Program in C++.
I need help understanding this instructions for the following C++ program. Main(); “Menu” I...
[2 replies] Last: Do you have the program? What have you got now? (by TheSmallGuy)
Having trouble assigning values to a dynamically alocated 2d array of string pointers
So I'm having trouble with assigning values to this array, here's my code: //Adventurer.cpp stri...
[3 replies] Last: I haven't written my assignment operator yet, could this be the probl... (by cire)
Weird noise
I have two c++ projects. One is written using Wt framework and is a webpage with a server. Other is ...
[6 replies] Last: Yes. Made another project with SDL. I think it might be GPU Fan(Laptop... (by vastrolorde)
Linking structure variables to an dynamic array.
Well, I took my first com sci class two semesters ago and learned quite a bit, enough to know that I...
[10 replies] Last: Thanks again Jayhawk! That helps a lot.. I think my issue was that the... (by newbcoding)
Pages: 1... 34567... 24
  Archived months: [jun2016]

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