General C++ Programming - September 2012 (Page 23)

function declaration usage in multiple files?
 
Hello everyone. I am having issues with using a function within two c files that is declared in a ...
[3 replies] Last: Here is my exact error: /home/elijah/code/chip/src/block/blocks/playe... (by strongdrink)
Urgent
 
Whats the difference between structures and classes (other than the privacy factor for the member va...
[9 replies] Last: Why not both? Especially if you use something like Doxygen. (by closed account 1yR4jE8b)
need clarification with class memory structure
 
To my knowledge the size of the object is the sum of all the variables declared in the class which i...
[3 replies] Last: Thanks guys ... appreciate it (by babbarbhangoo)
XML generator
 
Hi. I want to create a simple xml generator.(I don't want to use 3rd party codes) I created the co...
[11 replies] Last: I haven't used C++ to do XML, but I did have fun playing with outputti... (by BHX)
Microsoft® Visual Studio™ 6.0 Compilation Strange Scenario!
 
I am working on my C project using Microsoft® Visual Studio 6.0 and used to build it properly withi...
[2 replies] Last: I have set the warning level to 3. While compilingi n cl.exe window I ... (by rapoluus)
by noa
data output
 
hello, I want the data output in the following form: 1E 14 F5 E4 40 0E 04 6F ....@..h 00 08 D...
[1 reply] : Looks to me like you actually mean you want to open it in a hex editor... (by Moschops)
What code do I use to count the characters and lines in a .txt file?
 
Here is my sample text file (love.txt): I love you all day and all night forever and ever. Here is...
[1 reply] : Try using getline() in a while(inFile) loop to store each line int... (by soranz)
Why isn't this working?
 
void bookType::setAuthor(int authorCount) { string name; cout << "Enter the name of the ...
[3 replies] Last: Hi There seems to be lots of code missing here, so I can't really com... (by Anomanderis)
help pls as soon as possible
 
hi guys, so i am using this code to write to and read from a txt. file but when i write it shows me ...
[5 replies] Last: I don't want to read the code in the original post because I'm lazy an... (by Disch)
How do I open a user's file in C++? What is wrong with my code?
 
First of all I NEED to make a function for this program to open the file & I'm supposed to pass the ...
[1 reply] : You missed the & in the function declaration. void readFilename(ifstr... (by Peter87)
by arao6
Comparing a string to many strings?
 
I need to compare one string to nearly 60 other strings in real-time. Right now I'm doing this: ...
[6 replies] Last: The strings are being compared in the graphics thread in a game. In... (by hanst99)
attractions in C++
 
so i am done with my project. it is very long. now i want to add some attractions like colors and s...
[3 replies] Last: GUI = graphical user interface. Pretty much every application these da... (by ResidentBiscuit)
3D arrays
 
Can anyone please tell me the method of declaring a 3D array ?
[4 replies] Last: ok.. thanks.. (by Mina Khalid)
Problem Reading a file?
 
Hello, i am trying to read a file that contains Unicode Characters.. char * buffer; long size; ...
[13 replies] Last: should i use size() or length? Both do the same thing so it doesn't ... (by Peter87)
Can't Identify Errors. Input/Output files
 
Guys , I need help again. My lecturer gave me this coding and want it to work. I don't know what the...
[1 reply] : 5 16 G:\Assignment 3 programming\testing.cpp '::main' must return... (by Moschops)
pls help me
 
hi guys, so i am using this code to write to and read from a txt. file but when i write it shows me ...
[8 replies] Last: thank u all this is what i am looking for i got it from cplusplus sit... (by Adam2012)
using PHP with C++
 
Hi all, I am currently writing a program that collects a few pieces of information in c++ then send...
[1 reply] : yes, you can send an http request to the server with this variable. It... (by coder777)
Clean ever time before build
 
Hi, I am working with Eclipse and have two projects. 1. Shared Library 2. Program that uses the...
[1 reply] : 1- You are not linking properly -fPIC http://tldp.org/HOWTO/Program-... (by ne555)
by UldisK
Initializer list with enum class
 
So the code does not compile because of cmd::a in the initializer list. How should one solve this? ...
[3 replies] Last: Thanks for the answers. I think I will go with Peter's answer as i won... (by UldisK)
September 2012 Pages: 1... 2122232425... 32
  Archived months: [aug2012] [oct2012]

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