General C++ Programming - July 2008

Read from a text file and input string somewhere in between
 
Hello, I am trying to read a text file using 'fstream' and writing to it at the same time. - My t...
[no replies]
programm design
 
hi guys, when you try to solve a task, how do you start? A task like creating a programm for a ve...
[8 replies] Last: For a vending machine, the actor is really only the person using the m... (by bnbertha)
compilation problems
 
i got compilation problems but i donw know whats wrong??could you help me? plz! adChannel::setRs(...
[1 reply] : I fix it!! thxs!! everyone! i replace "(*iterator,2);" for ((*i... (by rapidiablo)
use of Classes, structures, Text files, memory alllocation
 
Instructions Please read the following instructions (related project code) carefully: You'll b...
[6 replies] Last: Maybe I'll do it and put //Author MikeB from cplusplus.com in an obsc... (by akmalnuernberg)
the problem of gettimeofday
 
Hi all, I just wrote a small problem to check gettimeofday in a multi-cores environment. ...
[1 reply] : I don't understand what the problem is, or what does the fact that it'... (by helios)
HOW TO MAKE DATE VALIDATOR PROGRAM IN C++
 
c an you give me a sample program that will make a date validator p lease? dont have any idea?..i...
[6 replies] Last: i tried to do it like this...its working ....again there's something w... (by atasha36)
Trouble with iostream+MFC EXT DLL
 
Hello! I am trying to port some library from Unix to Win. This library uses iostream classes like ...
[no replies]
Compiling with a library in a .lib file?
 
How do you compile something in Visual C++ and include a third party lib file? And then how do you ...
[1 reply] : Well that was easy... http://www.functionx.com/visualc/libraries/stat... (by leeand00)
by jpace
Search for in sub-directories
 
Hi. Can someone tell me how to search for all CSV files in a directory and its sub-directories? ...
[1 reply] : I’d like to be able to implement it in my C code. Then you have... (by exception)
thanks
 
thank you for your comment i appreciate it !!!!
[6 replies] Last: I love you how you entirely changed your post lol. And it really a... (by mikeb570)
by dehdar
C++ How to search a folder
 
Hi, I'm trying to make a function for my console-based program (no GUI) that will search a specific ...
[9 replies] Last: I guess to make it portable, you'd have to use the following unix exa... (by exception)
DATE VALIDATOR..fixin errors
 
can you please help me with my code? cant run it..there's some errors... please help me..thanks.. ...
[3 replies] Last: hi thanks for your help... now i got it right... my program runs very ... (by atasha36)
by kotoro
question about operators
 
I want to define a structure that acts much like a bitset object except that you define how many bit...
[12 replies] Last: I'm not going to write in one post what is usually coped with in a ent... (by exception)
char[size] to vector<bool>
 
I can open a binary file and load it to a char array. Is it possible to convert this char array to a...
[1 reply] : Only if you want to mess with allocator classes. Food for thought: ... (by Duthomhas)
Bit-by-bit reading fom Memory
 
Hi, If I load a binary file into memory how do I read it bit-by-bit? ifstream file ("my.bin", ...
[3 replies] Last: Something I have found to be very useful when searching through files ... (by bnbertha)
by PWWWWR
Integer Conversions
 
I have a question, but first... bitmap.width = (int)//whatever number you like! out << (bit...
[3 replies] Last: Argh. It is complaining about my cast on line 6. Just get rid of the ... (by Duthomhas)
by physik
ifstream question
 
Hello! I've enjoyed reading the posts here for a while. I've learned a lot, but I have something t...
[2 replies] Last: Arsen, you are a lifesaver. This has been hurting my head for a long ... (by physik)
using templates with different typenames
 
Hi all, I would like to use in one template class a different template class while both having di...
[7 replies] Last: but one has a problem if one splits its code into a header and .c f... (by exception)
by katz
Microcontroller programming
 
I am unsure of how to start a project to be written on the microcontroller. I took C++ and Data Stru...
[5 replies] Last: 8-bit Motorola 9S12 Microcontroller (by katz)
menu change runtime
 
Helo everybody! I'm writing to ask you some advices.... I'm programming in Visual C++ (ver. 6.0), ...
[2 replies] Last: Yes, very nice. Beg for help on the wrong board and, while you're at i... (by helios)
July 2008 Pages: 123... 10
  Archived months: [jun2008] [aug2008]

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