General C++ Programming - April 2012 (Page 33)

Memcpy Seg Fault
 
I haven't included all my code because memcpy is the cause of my seg fault. I thought I was doing th...
[3 replies] Last: Thanks forgot to do that. (by phillyman1025)
Help with C++ functions please help!
 
I am tying to display how many numbers the user entered and my program is like this: #include <io...
[7 replies] Last: yes, now it displays this: //***************** count function *****... (by Chapin247)
OpenGL release build closes immediately
 
I have been learning OpenGL 2.1 for a bit and I'm currently satisfied with my rotating textured cube...
[8 replies] Last: That is why you should: - always check (and correct) warnings. - never... (by bbgst)
pointers?
 
so i have been trying to grasp the concept of pointers and reference for some time, and so i thought...
[3 replies] Last: This might help. http://www.cplusplus.com/forum/beginner/67449 (by kbw)
How can a group of values calculated in a function be retrieved via a Dynamic Array Class in C++?
 
How can a group of values calculated in a function be retrieved via a Dynamic Array Class in C++? ...
[3 replies] Last: We are the professionalelevator parts manufacturer in china. We can pr... (by elevator parts)
online shopping situation
 
Overview of the problem You are to develop software for a simple online shopping situation. The en...
[4 replies] Last: Firstly, put [ code ] [ /code ] tags around the code. (by wasd2)
Need some help with my double-time method
 
I've got a bunch of stuff working in my mixer program. More specifically though, I have a wav file t...
[2 replies] Last: That did the trick. My only concern now is getting it to work like my ... (by closed account 365X92yv)
SegFault
 
I have compiled and run all of the menu options, however only number 5 and 6 work. 1 and 2 give m...
[1 reply] : In the switch... location = FindHighest(scores, size); location =... (by vin)
pointer not pointing
 
hi I have this projct for school and its kind of a long code so I'll just put the code here to what...
[6 replies] Last: Did you fix the second similar mistake in todoui.cpp line 10 (also poi... (by KRAkatau)
by Hankit
C++ retarded
 
Hey all, For you C++ guru's out there, I'm very new to the C++ world and with little help, we hav...
[7 replies] Last: That is why I said what I did. He is waiting to even start it til it i... (by BHX)
by htown
byte question
 
I have a program loaded into a memory array. It starts at location memory . Each index is 4 bytes l...
[2 replies] Last: yay thanks!! (by htown)
delete[] operator
 
Hello, I'm having an issue with delete . I have class LinkedList, and I'm trying to work with an arr...
[16 replies] Last: In your remove function: for (Node* spot = head; spot->next != N... (by cire)
by Opcode
Passing a Pointer for a 2D Array to a Function
 
I regret having to ask this, as I know this subject has been discussed many times previously. I've s...
[7 replies] Last: Thanks for your advice and assistance. I quickly tried implementing th... (by Opcode)
by taita
Can't Figure out the PROBLEM!!
 
// The program actually runs, but stops after statInfo() function is called in main. #incl...
[2 replies] Last: wow, that was a very silly mistake. Thanks a lot!! (by taita)
by taita
Can't Firgure out the error!!
 
// The program actually runs, but stops after statInfo() function is called in main. #include <...
[2 replies] Last: Yeah, [ code] tags make everything so much easier to read.... But a... (by long double main)
not finding the file on the second loop
 
It is running as it should for a loop and is terminated at line 59 on the second loop. When I enter ...
[no replies]
(VS2010) Inverse Matrix
 
Hello, I am a novice/newcomer to C++ and am taking classes for game programming. One of our proble...
[no replies]
finding path of binary tree from root to leaf.
 
hello, I am given a binary tree and I have to print the path from root to leaf nodes . eg: ...
[3 replies] Last: what it does essentially is it takes MyRoot sends the basic parameter... (by oonej)
How to use arrays in class
 
Hey, I wanted to know if there was a way to use arrays in a class. I have a program that will calcul...
[1 reply] : Please use the [ /code] wrapper and indents so that we can understand... (by TheDestroyer)
by rucafe
Question about using references
 
I am wondering if someone can tell me if I am using references properly to pass around a large data ...
[5 replies] Last: Passing by reference passes a pointer to the object rather than the v... (by clanmjc)
April 2012 Pages: 1... 3132333435... 49
  Archived months: [mar2012] [may2012]

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