General C++ Programming - November 2012 (Page 29)

File Reading
 
Hi, I'm trying to iterate through a file and output each number as a double separately so I can i...
[1 reply] : well, you never get out of the loop on line 6 because you set i to 0... (by coder777)
Freaky overloaded functions for Lottery Program VERY HARD
 
Needing a little assist if anyone knows how to do this? I have my homework complete and working grea...
[3 replies] Last: The formatting is only this way now so I can see it easily when scroll... (by rkstengel)
Very Simple code why is it not working
 
I have a text file TestFile1.txt and a veru simple code that came came as an example at cPlusPlus.co...
[5 replies] Last: You're using fscanf. fscanf is for formatted extraction from text fil... (by cire)
noob like
 
so i need to insert the options into a system command, anyone know a way to do this that will work? ...
[14 replies] Last: could i have an example? sorry this is a new concept (by Echo773)
Need help with this Program, why won't it work?
 
#include<cstdlib> #include<iostream> #include<fstream> #include<iomanip> using namespace std; ...
[3 replies] Last: If you edit your post so it uses code tags - the <> button on the ri... (by TheIdeasMan)
Problems about AVI files
 
I'm from a equipment get two kinds of data, one kind is video data, one kind is audio data, I want t...
[2 replies] Last: Thank you, I will go to study the Windows function.. (by shixiyu123)
TrashCan operator overloading homework
 
My assignment for class was to create a class called trashcan and overload it. i created the program...
[1 reply] : but im having trouble running it because i have some errors i do not ... (by TheIdeasMan)
Functions Help! Beginner Codelab C++
 
Some Useful Functions: Later on you will write a utility program mw that calculates the molecu...
[2 replies] Last: Thanks alot for the comment.... I left out a number (0) after that las... (by dougok07)
Template/Macro constructor problem
 
How can I do a constructor for a position with 1000 dimensions just with/or macro preprocessing. ...
[1 reply] : I've just seen variadic template. I'm very tired, but I'll see more to... (by ianLabbe)
I had this
 
I just need some help to debug this program. I thought I had it done and I'm having problems with m...
[12 replies] Last: gOT IT THANKS@!!!! (by jlillie89)
parallax techniques?
 
I've been trying to find a good c++ tutorial on Parallax techniques but have been unable to locate a...
[4 replies] Last: Ah the first one news it and tells it were to find the file and what t... (by programmeraie125)
by Yus
Reading in strings and int from file
 
HI!! i HAVE CREATED THIS PROGRAM: struct database //GLOBAL TYPE { string name; ...
[no replies]
Predefined Data
 
I was just wandering about whether the values such as GLOBAL_H defined at start of headers is actual...
[5 replies] Last: Thanks, I was thinking that those guards were going to bloat my app un... (by awsdert)
Making a templated stack
 
I have created a separate class in a separate file ("stack.cpp") to help me with using a stack for m...
[4 replies] Last: First of all, you guys are incredible. Thank you so much. Also, I noti... (by oudavid1)
unable to compile VS2012 ultimate win8
 
Visual Studio 2012 ultimate on win 8. Was able to get it to work (mostly) by fixing the reg attribu...
[2 replies] Last: LB, Tnx. Yes, and sorry to say that I'm seeing strange activity there... (by Incis B)
by VanVan
Help with id3lib
 
Hi all, I'm working on windows with Visual Studio. I'm trying to work with id3lib in order to re...
[no replies]
by fra
Segmentation fault (core dumped)
 
Hi everyone :) i'm writing a scheduling programm and i can't solve this problem: when i run the inp...
[4 replies] Last: I've found the problem!! It's the copy constructor MachineFamily(const... (by fra)
Loading
 
The way I've loaded data so far has been through functions, and passing a good amount of variables t...
[5 replies] Last: @ stewbond You forgot about the part where I should declare it in a he... (by IWishIKnew)
by SMA01
How to define function...passing values?
 
I am writing a program that executes two operations on a structure distanceType which is compose of ...
[1 reply] : In my opinion, most programmers can't write a complete program then pu... (by SamuelAdams)
by Lebron
Subsets in C programming, Where is the problem_
 
Hi, I was trying to write a C program that lists all of the subsets of the set {1,2,...,n}. The prog...
[no replies]
November 2012 Pages: 1... 2728293031... 51
  Archived months: [oct2012] [dec2012]

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