General C++ Programming (Page 66)

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]
by ruk
Assigning values to arrays
 
I don't understand this warning that I'm getting. Here is the code: #include <iostream> usin...
[1 reply] : Initializer lists were added in latest version of C++ standard. You sh... (by MiiNiPaa)
by jizzah
Code to read data from a file... store, search and display using classes and arrays
 
A company uses two text files: one to store employees' details and another to log their sign in/out ...
[1 reply] : Please read.. A company ... (by jizzah)
OpenMP on Simple Factor
 
I am trying to implement OpenMP on the code that I have written below so that I can find the prime f...
[no replies]
Some coding questions.
 
I am currently in the process of learning C++ (I started about a week ago), and the book I have been...
[16 replies] Last: 100's prime factors are: 2, 2, 5, 5. 2+2+5+5 does not equal seven. ... (by cire)
Type casting
 
I find type casting to be very hard to grasp, I am not sure why. I understand how it works I suppose...
[2 replies] Last: Oh this is great news. Thanks LB, takes a ton of pressure off. (by topherpunch)
D3DXVECTOR3 related
 
std::ostream & operator <<( std::ostream & out, const D3DXVECTOR3 & vec) { out << "[" << vec.x <<...
[1 reply] : Probably you misunderstood my reply. You actually had to copy-paste t... (by EssGeEich)
Linking LibCurl - Help
 
Hi, I'm trying out this new library called LibCurl so I can get the HTML code from a website page. W...
[10 replies] Last: Thanks, did not see that. (by usandfriends)
Tile based game display
 
I have been writing a fairly simple turn based rpg game in c++ and at the moment it has a 2d integer...
[3 replies] Last: Instead of integers you use images. lol yep basically this also, o... (by huike)
by NRoth
C++ Tic Tac Toe AI Help!?
 
I am in a C++ programming class right now, and I'm stuck. I made a Tic Tac Toe game (as shown below)...
[2 replies] Last: work on the game tree... for tic tac toe a game tree would be very sma... (by writetonsharma)
Matrix multiplication 3x3 for loops???
 
So basically I have to tell the user to input data and i use a for loop: for (i=0; i< 3; i++) cin ...
[no replies]
Pages: 1... 6465666768... 88
  Archived months: [mar2013]

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