General C++ Programming - May 2009 (Page 15)

problems using _rmdir()
 
Hi, i'm having trouble using _rmdir() It keeps giving an error code 13 (Permission denied) even tho...
[6 replies] Last: Thanks for that the code below worked a treat! { CreateDirectory... (by daveh2009)
char to int
 
Data is input from a text file containing on each line an alphabetic name followed by a numberic val...
[3 replies] Last: You are currently defining name as a char, which is a single character... (by firedraco)
How to pause a program in C++
 
Hi, I want to pause a program in C++ until I press a key to continue. Could anyone please help me...
[8 replies] Last: I suggest you read the thread pointed by helios... quite informative ... (by Lorena)
Forward Declaration error
 
Help need with c++ forward declarations I am new to using forward declarations. I thought I had un...
[8 replies] Last: Sorry fellas, Think i am jus running high on adrenalin today... I w... (by Sundar0206)
array copying
 
Im trying to write a program that sorts an array into different sorts.What im trying to do is write ...
[6 replies] Last: The "fixed" code is looping until i becomes >= some uninitialized vari... (by kempofighter)
by nanger
how to print in such format?
 
I have a loop in every loop-step I want to print namei and valuei into a txt file the format is a...
[1 reply] : Why not accumulate the data in two separate stringstreams and write th... (by kempofighter)
by flux00
#include patterns on medium sized programs
 
Hi I was just wondering what the best pattern for managing a medium sized program (~10K lines). I've...
[1 reply] : That's fine. The other option is to add your directory tree to the ... (by Duthomhas)
O(n) sort function
 
I've recently come up with a linear time sorting algorithm. It is rather restricted in what it can s...
[6 replies] Last: Right. For instance, if the array had two elements: 0 and 2^32-1! (by helios)
const char* to string
 
There is class alt::String (with small changes to the standard string class). It contains the publi...
[2 replies] Last: CheckPW will call PWSever::Hash unsigned int Hash (const alt... (by VictorH)
Frward declaration templating
 
Hi guys I had a post going sometime before this error .. But could nt follow up on it.. Pardon me...
[2 replies] Last: oops.. sorry to have not put it ere.. i have included it in the actual... (by Sundar0206)
displaying the output
 
Im having trouble displaying the output for a heap sort i coded Note:Im displaying the relevant cod...
[5 replies] Last: ah... on linux i mean gcc actually.. i was talking about MS VS IDE.... (by writetonsharma)
by rstech
C++ Error(s) while compiling code
 
This is not a homework question, although it is school work. But this specific code is not due for ...
[4 replies] Last: Yeah. It spits out a bunch of strange 3 page long garbage on some... (by guestgulkan)
Question about #includes
 
I was wondering if there is a standard convention to where to have all the #includes? I keep putting...
[12 replies] Last: Cool I look forward to seeing the article too! (by translore)
Dev-cpp compiler error with class function definitions
 
I have a program that where I have main including a file call list.cpp which includes list.h. list.h...
[3 replies] Last: You should never #include .cpp files, only header files. Well tha... (by daman371)
functional error
 
Ok, So I'm working on an all in one Chemistry calculator. spare me on the logistics of how hard this...
[2 replies] Last: ah thanks :D (by Seraphimsan)
by lundbd
fails when popping a string
 
Hey, we are working on a program to evaluate strings to make expressions for example: 3 4 5 + * Thi...
[no replies]
streams
 
In a program supplied by a course instructor, the following function is called with: ShowMenu() /...
[2 replies] Last: void ShowMenu(std::ostream& os = std::cout ) The bold part means tha... (by helios)
Need input/guidance on an odd computer issue
 
Basically, I have this problem with my computer that happens (only sometimes) when my computer has b...
[3 replies] Last: If you're on Windows, look in your system options. There's a "power s... (by Disch)
Graphics in DOS
 
I'm creating a DOS program and want to convert it into a somewhat graphical interface. No mouse, but...
[9 replies] Last: http://en.wikipedia.org/wiki/Ncurses#External_links Good luck! (by Duthomhas)
by vRltwE
Borland C++ Builder to Netbeans C++
 
Hi, I need to work in a project done in Borland C++ Builder but I want to use Netbeans to code n...
[2 replies] Last: And in case to migrate from Borland C++ Builder to Visual C++ Express?... (by vRltwE)
May 2009 Pages: 1... 1314151617
  Archived months: [apr2009] [jun2009]

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