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

by seyidi
CString in Date
 
Hello Guys , I have a CString and it is like ......27.12.1999 and I would like to convert date in this String in a DAte form, because I need 27.12.1999 for so...
[no replies]
by freeze
problem with switch statement ..using switch statement.
 
can someone please help me why this wont work. I'm a newbie on c++ Im creating a program similar to a fast food chain counter,that calculates type of meal ...
[3 replies] Last: This just fixes the errors to get it to compile #include <stdio.h>... (by closed account z05DSL3A)
by Nikhar
Whats wrong with the following File Handling program?
 
Ok.... I have made this c++ program that writes the records on a file and can modify it. The following modify isn't working. What's wrong with it? The pro...
[1 reply] : When you say modify isn't working, what exactly isn't working? Does... (by kbw)
[Thread?] List of files
 
Hello everyone, I explained my worries. I am currently working on a tool for compression / decompression that can take as arguments a list of files (*. bmp,...
[2 replies] Last: Yeahh it is perfect.. Thank you very much (by plopeur)
template function specialization
 
Hello, forum-folks! I'm new at this forum. I use gnu C++ compiler. #include <iostream> template<class T> void fun(T a) { std::cout << "fun(T) a: ...
[1 reply] : Perhaps this example main will clarify it for you: int main() {... (by jsmith)
Cygwin + SDL (1,2)
 
I want to move my project from Linux to Windows, so I was wondering if anyone knew how to get Cygwin to connect to SDL, I tried but I don't think it is reading ...
[22 replies] Last: Anywho ... I have this in compilation error c:\sdl-1.2.14\include\... (by DrChill)
by tition
Link a web page to a C++ program
 
Hi all, I have a C++ math program that I want to link to a web page. I want to share its output with some senior mathematics colleagues abroad that do not kn...
[7 replies] Last: I have been trying for two days to run my program via cgi, but, as exp... (by tition)
SDL_ttf and SDL_image clash?
 
I tried to install both SDL_ttf and SDL_image for visual c++, but they both have a "zlib1.dll", and if I try to copy both dlls to my project folder, I obviously...
[4 replies] Last: They're really all the same library. In fact, the smallest one may be ... (by helios)
Non-class type error
 
Registered: Jan 2010 Posts: 53 Thanked: 0 Non type class Hey guys basically, im trying to save a value in a member object in c ++. Code: cl...
[2 replies] Last: Please go through the tutorial. http://www.cplusplus.com/doc/tutorial... (by moorecm)
Cppunit
 
Hey guys, im facing a problem with my cppunit testing. I did a simple C++ program which basically extract data from a file based on its unique id. I would like ...
[7 replies] Last: I've used a number of unit testing frameworks including cppunit and no... (by PanGalactic)
BFS implementation
 
I havent been using C++ in 4 years and therefore I have some difficulties implementing my BFS algorithm. I keep getting errors like Error 12 error C2784: ...
[5 replies] Last: Thanks a lot! (by Ana Developer)
why wont this run? (small code)
 
...................................................................................
[7 replies] Last: why did the OP deletes his post? don't want to share? (by blackcoder41)
Data Validation
 
Done
[1 reply] : While working with strings we may have some invalid characters within ... (by elizas)
graphics.h
 
I'm am trying to use the library 'graphics.h' that i found in my book "The Art and Science of C" but when i used an example code that uses the library the compi...
[5 replies] Last: Thanks (by coolProgramer5)
C++ Stack Program Implementing PostFix Notation
 
I'm having problems with my program. What I'm Trying to achieve is this: Make a program that prompts the user to enter the value of A,B,C,D, and E. Then t...
[6 replies] Last: #include <iostream> using namespace std; int main () { int v... (by blackcoder41)
Using classes and objects
 
I have been implementing BFS but I run into the following errors while using lists, queues and objects: Error 4 error C2784: 'bool std::operator <(const std::_...
[1 reply] : See previous post reply... (by jsmith)
Loop Trouble(Simple Program)
 
Trying to figure out why this loop decides to run an extra time no matter what.Any Help would be greatly appreciated. #include <iostream> #include<cctype> ...
[5 replies] Last: You never prompt if they want to quit inside the loop, so the loop wil... (by firedraco)
Classes
 
Hello Everyone!! I am working on a general Class for a problem of mine and I ran into a problem. In my setData function, I am supposed to set it up so that i...
[4 replies] Last: @firedraco Thanks for the help! (by ohsnap1319)
Determine if an object coincide with other objects
 
I have a question: How can you determine if an objects coincides with other objects? My solution is this: I stored the xy positions of the other object...
[8 replies] Last: Hmmm.... Well actually, its always true.... but I must state that i... (by olredixsis)
Retyping program.
 
Hey I am a beginner at C++, and I was wondering how I would make a program that you could input a line of different names and Input them into a Word file. (my ...
[5 replies] Last: oh okay, thank you. ill probably try this in autoit. (by wetwlly)
February 2010 Pages: 1... 161718192021
  Archived months: [jan2010] [mar2010]

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