General C++ Programming (Page 70)

SDL deleting from vector
 
Hi guys, Ran into a bug yesterday and it's really frustrating because the code looks right so I ...
[7 replies] Last: In addition I have to do some research on your "smart pointers" http... (by naraku9333)
cout value -1.07374e+008?
 
My program is to calculate the Vector X product using the Direct X Header/ Library Iv'e got it to w...
[2 replies] Last: Ah so that would explain why the value was -1.07374e+008, but where wo... (by Histerial)
by Faint
Errors with using templates
 
Hello, I've written the following code and keep getting the errors: Error 1 error C2244: 'Supermark...
[11 replies] Last: And next time I'll put the whole code, still a newbie :P (by Faint)
Inheritance
 
how can I make a class non inheritable,,, without using keyword "final" ? class A { // }; A o...
[2 replies] Last: Thank yoi Disch) (by Mher594)
by Ashton
Difficulty appending a a local buffer value with a string
 
Please excuse my terminology if not perfect. I'm trying learn how to combine a string value with ...
[3 replies] Last: I hope this answers your question. I'm not sure of the limitations of... (by Ashton)
An hard code
 
main(_) {_^448&&main(-~_); putchar(--_%64?32|-~7[__TIME__-_/8%8][">'txiZ^(~z?"-48]>>";;;====~$::1...
[7 replies] Last: It actually one of the winners of IOCCC of 2006. Entry named sykes2... (by MiiNiPaa)
by sworld
Lazy copying - deep copy problem
 
Hi, I have a class which is using lazy copying - when a copy constructor is called, it creates shal...
[9 replies] Last: @ LowestOne I didn't see your reply until just now. Thanks for the... (by Disch)
simple array, program crashes **HELP**
 
The program will ask the user to enter the class code, name, section, and the names of each of the s...
[1 reply] : it crashes when name #16 is entered....it should not eaven ask for a 1... (by Neutralityyy)
Keeping types safe
 
I have a function which is passed an unsigned integer. The value of the integer must be zero or ( 1...
[no replies]
fscanf
 
Is there any way to store the value of the fscanf(file,"%i",&x)? In my case is 5 and I want to store...
[11 replies] Last: Guys, OP is newbie who has been given assignment to work with a functi... (by Duoas)
Using file from command line
 
I'm trying to read in a file specified in the command line but I'm having some trouble. The command ...
[8 replies] Last: Thanks for your help people, I've got it sorted now. Turns out i don'... (by Crakrjack)
Input of Unkown Size
 
I am solving problem, where I need to perform the same operation of an unknown number of test cases....
[2 replies] Last: Thank You. Line 4 really helped. (by Script Coder)
I/O Files
 
Hello all, I am reading from a txt. file and have 3 columns of numerical data. I want to sum 2 of...
[2 replies] Last: I bow to your greatness. That worked perfectly and was exactly what I ... (by ashonk226)
Dev C++ 64 bit.. assembler errors
 
I have C++ code which compiled with an older version of Dev C++ - and ran on Windows 7 .. I have mo...
[1 reply] : Inline assembly is not supported when compiling for X64 architecture. (by modoran)
trouble reading .txt into matrix
 
Hi all, Im reading in from a text file that is formatted like this 1 1 1 1 1 1 4 7 8 X 6 1 1 1 1 1 ...
[2 replies] Last: I ended up putting the map into an array and the project is all done n... (by Crakrjack)
C++ help with Vectors please. Sorted vector is poof....????
 
Here's my code #include "stdafx.h" //don't worry about this line #include <iostream> #i...
[7 replies] Last: It was a typo. I updated my previous post. (by vlad from moscow)
plzz help me
 
...
[2 replies] Last: i have no any Idea for this time... (by Williebem)
my program can't run. Please help
 
When I tried to run the program, it just crashes straight away. Could anyone please help me debug t...
[2 replies] Last: erm.. basically i have a vector of vector of values. I am just compari... (by Euphoria)
I was wondering?
 
Are there any built in functions in Dev bloodshed C++ compiler, that play music?
[1 reply] : No. Google "OpenAL" or "FMod" (by Zaita)
SVG File Bar Graph
 
Hey guys. I am having a bit of an issue. I am writing a program to be output into an .svg file an...
[no replies]
Pages: 1... 6869707172... 92
  Archived months: [mar2013]

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