General C++ Programming - December 2014 (Page 21)

fixing array index out of bounds problem
 
Hey guys, I'm stuck on this assignment and was wondering if you could give me any pointers? The dire...
[1 reply] : #ifndef H_myArray #define H_myArray #define MAX_ARRAY_SIZE 100 te... (by tanezavm)
Extracting numbers from a string
 
So, I have a string and I need to extract numbers from it. I've tried different things but they are ...
[10 replies] Last: to tanezavm: Hey, bud, thank you very much for your help. I kept look... (by cageybee)
Difference Between conio and conio.h
 
What is the difference btw #include <conio> and # include <conio.h>
[2 replies] Last: One statement includes the non-standard header file name "conio", and ... (by doug4)
type conversion during binary file read/write
 
Here's the code of a list of objects containing 6 sides and a reference (by ID) to the object next t...
[no replies]
Why is this function not working?
 
I'm trying to find first non zero element in an array then replace the zero with nextCard. it just w...
[2 replies] Last: Put your whole code or at least we can see how you declare the array y... (by tanezavm)
Doubly-linked list
 
Hey, I need just one last program, please help me. Here is condition: Create Doubly-linked list. ...
[1 reply] : I think you should at least try to code it by yourself and let any bri... (by tanezavm)
by fafner
New language - function syntax
 
Based off of Jonathan Blow's ideas about a new programming language for games (check them out on yt ...
[no replies]
need help with if-else statement
 
I working on a project where you have to write in a input for a worker at an amusment park and then ...
[5 replies] Last: loop through array and if worker ==loop : if location greater or equ... (by damianbloch49)
function argument of type pointer
 
Hello everyone. I have to write an example in which you use a function having as argument a pointe...
[5 replies] Last: That's nice, but it doesn't demonstrate that you're passing the pointe... (by MikeyBoy)
Monolithic libraries in C++ ?
 
Please explain to me in simple stepwise form, what is monolithic libraries and how c++ support it if...
[no replies]
Confused about literal and class method
 
In Javascript you can get substring "string".method(x,y); how come I get this in C++ by passing...
[14 replies] Last: Thanks everyone (by csstudent123)
getline(cin,string) doesn't work for files?
 
I have got a problem with the getline(cin,string) command. When I am trying to store a full text i...
[1 reply] : cin>>b; //This should instead be getline(cin,b) !!!   This is a form... (by MiiNiPaa)
What to do next...
 
I've just finished reading a c++ programming book called jumping into c++ by Alex Allain. My main ob...
[no replies]
Water Collision
 
Currently, everytime I move my player into the "w" on my map it doesn't recognize the collision I se...
[3 replies] Last: I tried using !obstructed, still allows me to go through it at first, ... (by HDxLafresh)
OpenGL Hellow world (SFML) won't compile!
 
g++ new.cpp -lGLEW -lsfml-window -lGL /usr/bin/ld: /tmp/ccvlqoGI.o: undefined reference to symbol...
[no replies]
Error while using __asm
 
I'm trying to use this function: void ChangeSizeOfImage(DWORD NewSize) { __asm { mov eax, fs: ...
[1 reply] : http://msdn.microsoft.com/en-us/library/2ee921w0.aspx (by Lachlan Easton)
How to do forward declaration of vector in a header file.
 
Hi, I have a header file in which we include vector at the top. But we want to remove that include. ...
[13 replies] Last: > any ideas to solve it ?? No. The behavior of a C ++ program is und... (by JLBorges)
Translating code into C/C++
 
I am new to C/C++, I have played around with VBscript codes, but no C/C++. Heres what im playing aro...
[no replies]
by vlkon
Null statement - prevent optimization
 
Hello everyone, recently I was looking into embedded programing of AVR microcontrollers. At this...
[11 replies] Last: Access to volatile objects are evaluated strictly according to the ru... (by helios)
by jthan
sorry! abt files
 
can you please give me a brief perspective what is it really about?(files)
[1 reply] : http://www.cplusplus.com/doc/tutorial/files/ (by MiiNiPaa)
December 2014 Pages: 1... 1920212223... 31
  Archived months: [nov2014] [jan2015]

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