General C++ Programming - December 2012 (Page 30)

About file stream
 
When i write to a file and close it does it immediately writes to a disk or do i have to Sleep() som...
[1 reply] : Closing a stream flushes all application buffers. Whether and when the... (by helios)
help me...:(
 
Hi I can not solve the following problem and I can not solve it. Please help me ... Thanks... http...
[1 reply] : I thought the cut & pasting of homework was lazy. Now there seems to ... (by cnoeval)
by beeb
My command prompt keeps crashing
 
When I run the program, my cmd prompt keeps crashing. If I take out the inputs of the pf array I hav...
[2 replies] Last: Oh I see. Thank You (by beeb)
C++ Arrays Problem
 
So I need to declare and struct with variadic elements like this: struct ACTION_TO_TYPE { ...
[2 replies] Last: Ok but is there someway like this: struct ACTION_TO_TYPE_IN_STRUCT ... (by BSODMASTER)
Simple question about classes
 
Hi! I have almost no experience in working with C++ classes, so this one should be easy to answer...
[1 reply] : Assuming btree is an instance of a binary tree and leftson() returns... (by Athar)
Question - Dynamic Structures
 
I'm wanting to use dynamic structures for an application I'm trying to build. The inline structure ...
[no replies]
double link list
 
Ok my first message on here I hope someone can answer me. Trying to do a register with char array b...
[4 replies] Last: Thanks! (by dasmonk)
db listbox data to stringGrid
 
hello , i m working on a project in Borland Builder 6 and i have a db listbox filled with data from ...
[no replies]
How to reach a Class within another class or struct?
 
Hi I was wondering how to reach a class after I declared it as a example. So if I ware to do it ...
[4 replies] Last: Ah thanks guys, didnt know you had to do it that way >.< (by Conny14156)
align pointer in pool
 
have stack-based pool with allocation from end to begin (it's easier at least in assembler properly ...
[6 replies] Last: Actually you can see they did it via "and" too but with one addition o... (by icegood)
by sog
While Loop inside a While Loop
 
Hi everyone, I've been reading these boards a lot for help while I've been taking an intro to C++...
[1 reply] : http://www.cplusplus.com/forum/beginner/87290/ (by SamuelAdams)
Copy part of char array to another !!!
 
I can't use string copy or mem copy because I need to copy in the middle. i am iterating through a ...
[2 replies] Last: Your example is not in step with your question. Are you dealing with ... (by andywestken)
reading multiple files using fstream in object class
 
I am trying to open multiple text files using fstream in a class float_seq object that i have create...
[1 reply] : I think this is what you want. /* close file here */ fin.close(); ... (by SamuelAdams)
by Dbass
PLC program to PC using C++ program
 
hi all, i'm given a project to be completed by end of 2012 and i have a big problem. I'm suppose to...
[1 reply] : Start with getting a copy of the PLC program. It should be programmed ... (by SamuelAdams)
by m1m6
problem in cin
 
hello i have a problem in cin characters this is my code typedef char dataline ; dataline lin...
[4 replies] Last: pls help guys :) (by m1m6)
Error with sscanf help
 
Hi, I'm trying to read an obj file which contains a mixed amount of info of types text, float and in...
[1 reply] : It doesn't open the file the 2nd time and you have no check to see if ... (by SamuelAdams)
Need help here about array, hope someone can help
 
I been trying here and there, but still I can't find what's the problem about the array calling. hop...
[1 reply] : Do this and it complies, the unsort list is incorrect. #include <io... (by SamuelAdams)
by jkfde
Pointers
 
How do you edit an array in one function using pointers in a different function. Here is functions ...
[2 replies] Last: use the function void userNumber(int A ); and call it like this user... (by Darkmaster)
Data files to array
 
I have a data file (energy.txt) that I need to open and display each column into an array. 1...
[2 replies] Last: What about the rows? Well, you would need to store each cell in a 2... (by ajh32)
by game
Convert upstream results to vector and sort problem!
 
My output from upstream program is as follow: 10 2 3 34 55 65 67 76 23 56 9 5 29 19 29 19 ...
[no replies]
December 2012 Pages: 1... 2829303132... 43
  Archived months: [nov2012] [jan2013]

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