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

by lipune
c++
 
can anyone tell me,,,,,,, 1-what is use of bit field in structure and why we use. 2-how we know ou...
[3 replies] Last: #1 - it is used to allow direct access to individual bits without havi... (by jsmith)
by g0dwyn
Pointer Madness
 
Hi forum, So the latest in my perplexing programming issues is this: I've got an integer pointer ...
[2 replies] Last: *x++ is shorthand for x->operator++(int)->operator*() Now the po... (by exception)
by Clauzr
How to do a parsing?
 
Hi guys. I'm a university student and I have a final project that need a parsing method. I have to c...
[1 reply] : Just use a stringstream, then you can check each character individuall... (by firedraco)
read .txt file line by line and convert to array
 
i am working on a text twist like program on visual studio 2008 c++ or devc++ and i'm trying to figu...
[4 replies] Last: You could probably also just use getline() in this case to get everyth... (by firedraco)
save data on C++
 
Hello, I am setting up an agenda on C++ (use Borland Tubo C 2006), for to put my data I use a "Strin...
[2 replies] Last: thank you for the answer, I will try. (by viclaudel)
Addition with string
 
I've done my code for addition using string. I'd really happy if you guys can guide me with the opt...
[no replies]
Can someone please edit my code and please place an ifstream on it?
 
Can someone please help me out with this code... I'm having a very difficult time with this one... s...
[no replies]
Calculate by memory value
 
I'm doing my calculator and it's helping me until now. But in some cases, the rounding is not workin...
[11 replies] Last: I found a simple equation: 0.01234-0.01334 gives you -0.00099999... (by chu121su12)
Session Tracker Application
 
I have been working with C++ in Unix environment for quite some time now. To learn in a broader pers...
[no replies]
how to create a random number generator function till range of unsigned int
 
how to create a random number generator function till range of unsigned int
[3 replies] Last: rand()%(#) replace # with a number signifying the highest number you ... (by CTucci87)
erase() function
 
I am curious if there is another way to perform the erase function. In my code I have: readLi...
[3 replies] Last: Erase is the most efficient way. you may try: readLine = readLine... (by chu121su12)
Problems With srand()
 
I tried to seed with time(0) and time(null) and it responds that time cannot convert into an unsigne...
[1 reply] : I worked it out all I had to do was cast time as unsigned. I just chan... (by CTucci87)
refreshing things (like progress bars) in the command prompt/terminal
 
Hello all, It's been awhile since I last posted and I have a new idea for a program. I a...
[5 replies] Last: Hey thanks for all your help. I took the progress bar you gave me and... (by enduser000)
new syntax for associative array
 
Helo, here is the thing: i made an implementation of the associative array in C++. It works well,...
[2 replies] Last: Wow, it really works. I never tought that you can do this with operato... (by kanesoban)
Parsing XML
 
Hi, everybody! I'm looking for XML parser that fully supports XSDs and XML 1.0 . It should be abl...
[no replies]
by helios
Random errors with queues
 
I'm getting (luckily infrequent) errors at random while getting the top element from a queue. I don'...
[1 reply] : I would just go for a thread-safe structure, since it will also preven... (by firedraco)
Problem with Class Month
 
Hello guys, I need help with my C++ Program. I am writing a class called Month with a couple of con...
[2 replies] Last: Thanks a lot Jsmith. What I did to solve the problems was to use the ... (by locorecto)
by Gonen
Calling to a function in the run-time
 
Hello , I want to call to a function(from a DLL) that I got a pointer to it , but I know its signat...
[no replies]
C++ Progamme for linux
 
Hi , Im looking to programme something in C++ on ubuntu . Could you please recommened some progr...
[no replies]
Request for member error
 
I am working on an OOP project and I am stuck on the following error: |LINE: 28|error: request fo...
[1 reply] : Because scale returnes a pointer to a TimeValue, shouldn't it be : (I... (by guestgulkan)
October 2008 Pages: 1... 56789... 11
  Archived months: [sep2008] [nov2008]

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