General C++ Programming - February 2009 (Page 9)

Iterators
 
Hello, I'm trying to make use of iterators in my linked list. I've read up on them but never used ...
[2 replies] Last: Thanks. Makes sense that would be the problem. I changed the name an... (by aeronet)
by Folke
Vector question
 
Hello! (sorry if my english is bad I'm from Sweden) I have a little problem. Look at this code: ...
[5 replies] Last: Thanks for the link! But I can't get this to work with a vector. It wo... (by Folke)
DateTime format.
 
I have a small part of my code that outputs a date/time string as this: Thu Feb 12 09:05:52 2009 ...
[1 reply] : Not without using a library or manipulating it yourself. http://www.c... (by Zaita)
revised topic - greedy algorithm, advanced
 
Sorry for doing this, but I am reposting an alternate problem because I think I confused people the ...
[10 replies] Last: For the likelihood function, so this is just something you would run ... (by Zaita)
changing psuedo code into a function
 
Hi I am having a little difficulty turning my psuedocode into a function. My psuedocode is the fo...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ We don't provide homewo... (by Zaita)
how to insert a struct record into a binary search tree
 
how to insert a struct record into a binary search tree
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ Your not asking reaso... (by Zaita)
hlp with trees
 
this is my program #include <iostream.h> #include <string> struct CropType { s...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
greedy algorithm - advanced/theoretical question
 
See http://www.cplusplus.com/forum/general/7692/
[8 replies] Last: If your starting off with an empty network. Then the greedy algorithm ... (by Zaita)
[SOLVED] Thanks to Grey WolfTrying to get a char to reverse
 
Alright quick question I can get this to work but after the "char s = "The quick brown fox ";" I ne...
[15 replies] Last: hey for greet output you just need strlen=index; i... (by raprap321)
by bessaz
generic linked list
 
Hi, guys! I need to create a generic linked list (Polymorphic containers),with class no the stru...
[8 replies] Last: thx :) but, in your code kevinchkin : node_base* current; cur... (by bessaz)
by vivmen
why goto should be avoided
 
hello all i read in many books that we should not use goto in our code, but i don't ge...
[8 replies] Last: I like what my lecturer said, many years ago, when asked about using g... (by closed account z05DSL3A)
Howto Read From Binary File
 
Dear all, The following code first writes the data into a binary file. Then reading the file ag...
[no replies]
by olove5
Hello everybody, can someone tell me how to fix those errors
 
array.h:21: error: redefinition of âclass Array<DataType>â array.h:22: error: previous definition...
[5 replies] Last: Olove5 , Why did you totally change the question and title of this to... (by closed account z05DSL3A)
Looking for a file "pic.h"
 
Hey guys, So I've got the task for some basic programming on a "Sure Electronics - 7" Character H...
[4 replies] Last: Hello Mythios. OK. I wait your email with the files at cristoforo.c... (by cricamerano)
Passing System Call Output Into A Variable
 
Dear all, Is there a way to do it with C++? Typically in Perl this could be done this way: ...
[3 replies] Last: You can also read from stdin. If for example, you wanted to run a pro... (by seymore15074)
image power of 2
 
hi everyone, i have an image N*M dimension, but N and M not a power of 2 .How can i convert this im...
[2 replies] Last: Following the post of Zaita.. you should resize the image by ading dum... (by SouravDutta)
Files and Pointers
 
I was wondering how its possible to write information contained into a text file, into a pointer var...
[1 reply] : http://www.cplusplus.com/doc/tutorial/dynamic.html http://www.cpluspl... (by Zaita)
by cmass
STL List class and pointers
 
I am using a list for my data. Is there a way to set a pointer to the beginning of the list?? Than...
[9 replies] Last: No worries :) (by Zaita)
hlp with Trees
 
this is my program #include <iostream.h> #include <string> struct CropType { s...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
SOS me with my Log in Dialog
 
if(!strcmp(username,"raprap321")){ if(!strcmp(password,"qwerty")){ clrscr(); g...
[3 replies] Last: gets() is not a safe function call. It does no bounds checking. (by Zaita)
February 2009 Pages: 1... 7891011... 14
  Archived months: [jan2009] [mar2009]

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