General C++ Programming - March 2008 (Page 4)

Streaming and member function operator precedence
 
Hi all, I've recently had some issues with the streaming operator and the order of precedence us...
[2 replies] Last: Aye, Im looking at having to do that. But I'm still curious. Can't wor... (by snorridjs)
converting a simple file from C to C++
 
I was wondering how you would convert the following source code (which compiles in C) to a C++ file....
[1 reply] : Just change the first line for: int calcrc (char* ptr, int count) ... (by martinlb)
How to Display a Pic Stored in HardDisc
 
hi Friends: i want to display the Picture stored in my hard disc say E:\FilmCity\Film.jpg in the...
[1 reply] : There is no one single-line command to display images. In fact, there'... (by magicalblender)
converting a word to lowercase
 
Can anyone help me finish this? void lowerCase(char ch, string array ) { int index; ...
[3 replies] Last: Here are two ways to convert a string: #include <iostream> #inc... (by closed account z05DSL3A)
graphing values, how to
 
I wanted to make a graph the results of my program, but Im bombarded with a lot of informations with...
[no replies]
Large #s and using "isalpha" causes pgm to loop
 
Entering large #'s and non-numeric causes the program to loop. Any advice?? #include <iostream...
[1 reply] : You need to pass an argument to isalpha. http://cplusplus.com/refer... (by ropez)
Lrg #s and using "isalpha" causes pgm to loop
 
Every time I enter a large number or an alpha character the program gets stuck in a loop. Here's th...
[3 replies] Last: How about: #include <iostream> #include <cstdlib> #include <exce... (by closed account z05DSL3A)
large #s and using "isalpha" causes pgm to loop
 
Here's the code that I have: //-------------------------------------------------------------...
[no replies]
Binary search for string in string array
 
Hey does anyone know how to search a given string in a string array using binary search?
[1 reply] : string array ; // ... // [make sure array is sorted] if ( st... (by ropez)
Reading a file into an array
 
Just wanted to know how to read a text file into an array. Im having a lot of trouble with this..tha...
[5 replies] Last: Then just replace it with an array!? What changes is that you have to ... (by Magnus)
Tic Tac Toe, Comments/Optimization/etc...
 
I wrote a simple console game for tic tac toe. I wanted to put it up here in hopes that someone coul...
[no replies]
Nid Help
 
Who knows the function use to run an EXE file using c++ function...tnx
[no replies]
by JayZee
reading from a data file
 
I need to know how to read strings and numbers from the same file. The strings are two word names an...
[5 replies] Last: Reading strings from a file is easy as is reading numbers. It gets co... (by JayZee)
Error regarding 3rd parameter of pthread_create()
 
Could someone please explain to me the return type of pthread_create()'s 3rd parameter? I know it sh...
[1 reply] : You can't pass a member function to pthread_create. You need to pass a... (by ropez)
Incomplete type error
 
I have two classes: Test1 and Test2. Test1 has a field of data type Test2, & vice versa. I need some...
[2 replies] Last: Thanks for the advice ropez :) (by unclefester)
Sequential Search for a string?
 
Hi there,
[1 reply] : int searchList(string *, int, string *); takes an array of st... (by vince1027)
Errors I can't Figure Out
 
Hey guys, I am receiving these errors and can't seem to fix them. Help would be very much appreciate...
[4 replies] Last: Thanks a lot guys. I actually decided to change from a 3D array to an ... (by Stunner)
How to record the screen activity?
 
Hi all. Just wondering if there is an API or other library out there that can record everything bein...
[no replies]
login screen for game
 
Alright.. I've just got a basic window for Dev-C++. Now What I want to do is add a background to it....
[1 reply] : sorry bump, it's just i think this is an important process in making m... (by jburridge)
How to implement a buffer by using stream
 
Hi all, I'm writing a C++ program calculating MD5 hash. Let say it contains foo1() and foo2() whi...
[no replies]
March 2008 Pages: 123456... 8
  Archived months: [feb2008] [apr2008]

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