Beginners - May 2010 (Page 6)

char* copy function
 
Can someone tell me why this generates garbage output for 'Destination'? It's supposed to copy one c...
[1 reply] : You have quite a few off-by-1 errors, as well as some other flawed log... (by Disch)
How To COUT Using Screen Coordinates With JPEG Images
 
How do you write C++ to display information with JPEG images and coordinates? This is for a softw...
[4 replies] Last: I am creating a user interface similar to the computer display screen ... (by alanarqueza)
Trouble With Randomizing
 
I've tried to create a program that shows 25 random words and asks for you to re-type them (memory g...
[4 replies] Last: Thanks a lot for all the help. (by MottMan)
by cmccmc
How do you get there home directory
 
How do you detect a users home directory in windows? By home directory I mean ("C:/Users/*This*Rando...
[7 replies] Last: thanks that helped (by cmccmc)
by ac8231
Trying to count words C++
 
Hey, I am trying to do a word counter and am stuck... The object of this assignment is to 1. rea...
[5 replies] Last: http://cplusplus.com/articles/firedraco1/ ^Everything you could possi... (by Albatross)
How do we find which one among the given ints is the largest?
 
Hi there guys! I am using C to write a program for an embedded system. I have come to a point wher...
[7 replies] Last: Ok, i programmed an atmega myself, it was 16Mhz but still i had no pro... (by RedX)
graphic in c++
 
Are there in any graphic in Dos of c++ language ?????????????? ::S:S
[6 replies] Last: okay thanks for you (by khaled mohamed hassan)
Output the sums of the even and odd numbers for a list of input values
 
I need to write a program that prompts the user to input a number of integers, then displays how man...
[6 replies] Last: @kalel Sure, post your code. (by RedX)
Why is it not working!?
 
finished
[11 replies] Last: Eh. There wasn't really, just a problem with reading stuff into arrays... (by Albatross)
C++: Writing an array of characters to a file
 
This function is called when the user wants to append information to the end of a file. Im not sure ...
[3 replies] Last: Yes, I always found the student help part of the University to be less... (by Duthomhas)
Inherited operators
 
Hey all, here is the problem: I'm built a Matrix class and I did the dirty work redefining all the ...
[9 replies] Last: Indeed, thanks for the help guys! (by valleymannn)
Returning date string from function
 
Hi!! I'm trying to return a string of charachters from a function. bufferF in Fdato() function pr...
[2 replies] Last: Your char buffer is a local var. It gets deleted when exiting the func... (by RedX)
trying to add leap year into program
 
I'm not really sure as to how to add leap year in here. I looked on wikipedia and got the pseudocode...
[7 replies] Last: #include <iostream> using std::cout; bool IsLeapYear( int ); i... (by michelramos)
string decode
 
Hello, I was working on string decoding. Given a decoded string Q need to find the original strin...
[1 reply] : Accessing chars in a std::string can be done with .at() (by RedX)
by neoxyn
trying to connect to mysql - gives me linker errors
 
#include <mysql.h> and //try to make connection to database MYSQL *connection,...
[no replies]
I am my wits end
 
The space at the end of some employee ID is killing me.. Can someone teach how can i exclude them? ...
[1 reply] : Google for trim whitespace. http://www.codeguru.com/forum/archive/i... (by RedX)
Emulation
 
I am a beginner with C++ and would like to explore writing emulation. I know at this point, it's pr...
[2 replies] Last: @OP, You could try creating a very simple virtual machine, design a s... (by chrisname)
this is my first project
 
this my first project if anybody want to ask about it and this is my fist participation in this site...
[7 replies] Last: Good luck (by Denis)
by zulzz
Global variable not global.
 
Hey. I'm reading up on the beginner's guide from msdn.com and i've come to learn the basics, however...
[11 replies] Last: yes i read that it is not recommended to use global variables, but you... (by zulzz)
cin.get()
 
hi in this code loop executes more time time loop, it is something wrong with the cin.get(ch) fu...
[1 reply] : I think you to need move cin.get() to loop while and if I am write you... (by Denis)
May 2010 Pages: 1... 45678... 33
  Archived months: [apr2010] [jun2010]

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