General C++ Programming - February 2010 (Page 6)

Single to Doubly Linked List
 
I understand the concept of Doubly Linked Lists and I'm trying to understand how you convert them fo...
[1 reply] : If you haven't already, get out a piece of paper and some crayons and ... (by Duthomhas)
strftime in C
 
#include <stdio.h> int main() { char a ; strftime (a,10,"%B"," "); ...
[2 replies] Last: It's probably just reading random garbage and interpretting it as 'Ma... (by vipul mehta)
by smiler
Type size
 
Hello, I have really simple question that comes from wierd compiler behaviour. A variable of t...
[3 replies] Last: There is no "shift variable" -- and he isn't interested in it. He i... (by Duthomhas)
1 million integer problem..
 
I intend to study different sorting algorithms on large arrays.. I am trying to use 1 million array...
[5 replies] Last: Oh, so like strings, then? They go in the .bss section and get mapped ... (by chrisname)
Pass std::cin as a parameter?
 
For some reason, when I try to create a function like this: vector<Variable> tokenize(string full,...
[2 replies] Last: Great, that fixed it. Thank you! (by demosthenes2k8)
Project on c++
 
I got stuck in C++ Programming . I'm not really good but wish to learn alot from several experts. I ...
[9 replies] Last: To computerquip, Thanks for your advice, i hope in the future... (by Niwde1463)
What is a practical use of a linked list?
 
I have been reading up more and more on C, and it appears linked lists are very important in that la...
[13 replies] Last: A list also deals with memory fragmentation much better than a vector/... (by Duthomhas)
Recursive solution to counting nodes in a linked list
 
I know the iterative solution is the best way to go, but just to get a some more practice/experience...
[7 replies] Last: That'll do, and it's even shorter than mine. (by kbw)
LOOP trouble
 
All help is appreciated, I am currently in a jam here with writting a program, it states that A ...
[19 replies] Last: As according to we will not this part of the code . // count numbe... (by bluecoder)
by snpl
systemC (Linker error - undefined reference)
 
This is is supposed to be an implimentation of a 4bit shift register (vhdl style coding I am afraid....
[9 replies] Last: Today I register here to THANK U all. I was about to pull my hairs out... (by prady)
by r2d2
hook a static function?
 
hello every1, I need your suggestion about static declaration function overriding. It should works...
[no replies]
India Game Developer Summit Announces Program and Speakers
 
Summit Draws Endorsement and Support from IGDA, NVIDIA, Adobe, Ubisoft, Playdom and more Bangalor...
[no replies]
by jimr
Can two Bit Fields be AND'ed or OR'ed
 
I am coming from a Unisys Algol environment, yes there are few of us left, and have an application t...
[6 replies] Last: Oh, thanks. (by chrisname)
output formatting
 
Hi everybody, I dont know why my output comes out all weird, maybe its because i have had a long day...
[1 reply] : You're using tabs, and your tab size is different to that of your shel... (by chrisname)
by Ryan99
fopen to create if not exists and update if exists
 
Im writing an app where I need to open a file, read data, check a element of the struct to see if m...
[12 replies] Last: @m4ster r0shi, fair enough. Personally, I don't use windows, so "a+" ... (by chrisname)
by nicoya
simple C++ program
 
I have a lab that takes user input for example user enters: 45341. The most significant/least signif...
[5 replies] Last: Thank you m4ster r0shi. It worked out I can finish it from here...yea ... (by nicoya)
Wow things have changed
 
So I finally got a new computer. I haven't messed with c++ or other languaged much in a few years an...
[3 replies] Last: Ok one more question. Take everything I said below and say I wanted to... (by XyA DarkSide)
Problem with using a header file
 
I have a header class that was written for me that creates a stack that you can call different funct...
[1 reply] : #include "stack.h" void SomeFunction() { Stack mystack; ... (by Disch)
Programs
 
Why do none of the programs that I attempt to make ever work. For example I did "hello world" and a...
[1 reply] : http://cplusplus.com/forum/beginner/1988/ (by jeffbmartinez)
copying info from file to vector array
 
Hi Guys Could someone help me with the problem, I am trying to read string data from a file to a...
[1 reply] : It would help if you posted the full error as generated by the compile... (by kbw)
February 2010 Pages: 1... 45678... 21
  Archived months: [jan2010] [mar2010]

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