General C++ Programming - August 2008 (Page 7)

Opensource C projects
 
I did in the past some basic C/C++ programming on my own and hoped to combine my effort with some others. So ... 1) Who has an overview of currently interest...
[1 reply] : One of the biggest, if not the biggest open source repository is the s... (by bnbertha)
16-bit and 32-bit programs
 
I wrote a simple C++ program that asks for a filename, opens that file and prints its contents to the screen. Finally, it closes the file. I wrote the pro...
[6 replies] Last: Toshiro: I am using OS X 10.4.11 with a 1.42CHz PowerPC G4. I am... (by mjwhite1)
Can't access map within const structure
 
I am passing a structure into a subroutine as a const reference. One of the elements of the structure is a map. I am trying to access the map with the .find()...
[5 replies] Last: Thanks to anyone who was investigating my problem. The answer has bee... (by stewball)
Module working incorrectly
 
Hi all, I cannot figure out why the module ApplyTax is not calculating the tax to dNewCost and assigning the variable dSalesTax this value. Instead of doing th...
[3 replies] Last: Try making state a string rather than a char, (ditto for CustFirstn... (by Faldrax)
Screen splitting
 
I am currently attempting to complete a fairly basic C++ program for a win32app. My problem isn't the actual program, but adding a moving graphic to the program...
[no replies]
by Alck
object orientated programming
 
hi, can someone kindly assist on my code? A mini-mart has just installed a bar code reader to improve efficiency at their checkouts. Assume that the bar cod...
[12 replies] Last: skylinehack@hotmail.com (by Terry)
by miro
Pointer "this" in class templates
 
Hello, I am trying to create template of something like list element. I wanted to overload operator + so it returns pointer to element this + n position "forwar...
[3 replies] Last: What? No! Change the type of 'result' to 'LE<int> *'. Don't use casti... (by helios)
Virtual function
 
Can someone explain what virtual function does..i see a class where in the header file...it is decleared like: virtual bool Read(); how is it different ...
[1 reply] : virtual is used with methods of classes, not functions. Ot os part ... (by Faldrax)
[STL] Adding structs as nodes
 
Hi m new to stl I have this structure declared struct myStruct { char firstname ; char lastname ; int grade; }; list<myStruct> nam...
[1 reply] : See replies on your duplicate post : http://www.cplusplus.com/forum/be... (by Faldrax)
by kk84
how to read file using pointer
 
Hi all I have been trying to display a txt file using pointer. heres the code, however Im only able to read first 20 character even though I set a while loop. ...
[3 replies] Last: ok Thanks. Guess i knw whr im heading to. thanks guys (by kk84)
by hlakna
About graphical user interfaces in c++
 
Hello! I need to know ,that how to create a graphical user interface in c++. can somebody please tell me the way to do it, or if you have a code can ...
[15 replies] Last: Wow. Nice! By all means then, use Qt. It is one of the nicest systems ... (by Duthomhas)
How is malloc() implemented?
 
How is malloc() implemented? I want to create my own version of it, but that would be much easier if I had its source code. I am using MinGW.
[4 replies] Last: Have a look at section 8.7 Example - A Storage Allocator (p.149) in ... (by closed account z05DSL3A)
Have problem with BINARY TREE
 
Hi! Please help me with my problem. My problem: I must create class named Map. class Map{ public: //constructors and methods private //here i must use...
[1 reply] : You indeed do not only need a binary tree, you need a balanced binary ... (by exception)
Return value of atof is creating confusion.
 
Hi, When I am using atof method the return value gets manipulated. I am not able to find out the reason, why this is happening and how to resolve it. B...
[1 reply] : This happens because the number of significant (decimal) digits in IEE... (by exception)
by g0dwyn
peculiarities with char[] (what else is new?)
 
I feel like I'm spending a lot of time on here recently... Anyway, I'm using a library that uses C strings, and only C strings. It's OMG SO kind of annoyi...
[2 replies] Last: This happens with all variables if you do not initialize them with som... (by firedraco)
IP Sockets Project for University
 
Hi There all I am developing an IP sockets program for my final year Bsc (Hons) in Computing & Networks which is going to be used for the university robot p...
[4 replies] Last: long long int can be unsigned . Though like you said, the likelihoo... (by Zhuge)
by katz
Turning On a Pin on a Microcontroller and creating CLASS FUNCTIONS
 
Hi, I am wondering if anyone could give me a hint on how to TURN ON at last a pin on a 8-bit Motorola Micro Controller. I am currently using C programming la...
[9 replies] Last: These are just examples. You should have documentation (or go and dow... (by bnbertha)
fstream
 
I need to do a system to proceed a booking of two badminton courts. Basically, i need to create a program that input data and read it out. I have just learn C++...
[2 replies] Last: maxwell have u successfully written the code? (by Alck)
Data analysis/visualisation: good practice?
 
As an intern, I am writing a tool that reads data from a log file, evaluates the data and uses an existing GUI toolset to visualise that data. Essentially, meth...
[2 replies] Last: Thanks, that helps a lot :) (by toshiro)
programming exercises & being a trainee
 
Hello, i have two questions. First, you know any websites with C++ exercises for intermediate (or at least C++ programmers? Or maybe just individual exerc...
[3 replies] Last: http://www.cplusplus.com/forum/jobs/2447/ (by Zaita)
August 2008 Pages: 1... 56789
  Archived months: [jul2008] [sep2008]

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