Beginners - April 2009 (Page 19)

by upo
combing two images together
 
Hi guys, I need assistance in this. I am supposed to make a function:combineImage(const Image & im, int I, int j): that combines two images together, The positi...
[5 replies] Last: Thanks anyways, but if u have any knowledge abotu any kinds of images ... (by upo)
by mdgdoc
function probelm
 
Well, I asked for help on this last week, The provision was great, worked well, now I need this code to be in a call to function format. I have worked on this ...
[no replies]
for loop with nested decision
 
I need some pointers again. The program is suppose to be a for loop with nested decision. I'm have a problem with layout and organization. The program will r...
[2 replies] Last: //Thanks Gumbercules I get it, here is my progress. #include <ios... (by static33)
by luki
new with strcmp
 
I am very unfamiliar with this function and I find the tutorials hard to understand as I'm a newb. Basically in my program I try to avoid the user from entering...
[2 replies] Last: Alright so if the the struct is in a seperate file to the main, I sho... (by luki)
by eraeya
deleting elements in a vector
 
Hello, I'm doing a remake of Yoshi's Island and I'm using a vector to keep track of instances. However, I'm having trouble removing particular elements from ...
[3 replies] Last: oh yes, I feel silly now for saying it was fine. erase should return t... (by Gumbercules)
write and read from file ?????
 
hi everyone i hope there is someone have some free time to check my course work traying to do everything in the menu. can you see my mistakes?? i know there is...
[5 replies] Last: line 180 has error. where is its matching if?? how should i use the... (by pczafer)
by dodo78
subtract int from char array in a loop
 
Hello! There is one simple thing i do not understand in the following: char list ="12934225005"; int count,d1; count=strlen(list); for(int j=0;...
[3 replies] Last: Very helpful. Thanks a lot! (by dodo78)
Function
 
Hi. I am new to C++ and i tried to break a main file to 3 parts and i got these 2 error which i don't know wat it is 1>MSVCRTD.lib(crtexe.obj) : error LNK201...
[6 replies] Last: OIC LOL I realise where is the problem thank you. (by DoomCarnage)
Problems using classes
 
Short story long,i had to make 2 lists of integers,and perform reading,deleting,union,intersection,xor,subtraction operations using classes. The following prog...
[2 replies] Last: Well,the debugger says everything is OK,but i think there is a problem... (by Lionhunter)
by pire
pointer problem
 
help me to complete the source the txt file is 15 KimSD 38 ParkES 91 LeeYS 87 LeeYK 25 KimWY 14 MinHB 77 MoonYS 85 ChoiKI 73 KimIS 68 KimHI 3...
[1 reply] : Did you write that yourself? If you wrote all that clever memory stuf... (by kbw)
by Duncan
Problems with Multi-File program
 
Problem 1 undefined functions?: //swap.h #ifndef SWAP_H #define SWAP_H template <class T> void swap(T* a, T* b); #endif //swap.cpp #include...
[6 replies] Last: @Bazzy It isn't true that templates cannot be split into seperate h... (by guestgulkan)
by home56
How to copy one array into another array backwards
 
Good evening everyone. I'm in a beginning c++ programming class and we've been given an assignment. I understand that this site doesn't to the programming for...
[4 replies] Last: reverse Word isn't a valid name, use reverse_Word or reverseWord ... (by Bazzy)
Class question for RPG Game
 
Hi everyone, I'm making a simple RPG game and am using classes for my weapons. Here is a sample of my code: class Sword { public: string wName; short...
[3 replies] Last: class Sword { //... }; class Player { public: ... (by Bazzy)
Register/login program?
 
Is it possible to have a user enter a username and password, then have those two strings sent to an external file to be saved and ready to be retrieved later? W...
[1 reply] : Save the username/password with a simple format so you will be able to... (by Bazzy)
Boolean Operators
 
I looked on this site and I searched it on google, but I can't find out how to actually use Boolean Operators. I know the symbols, such as ! means not, but I ...
[2 replies] Last: Ah thanks so much! (by ROFL A PIGGY)
Am I conatenating these strings correctly
 
My exposure to arrays and pointers are bit limited. And concatened strings even less ( it was not covered in my class so I had to use my book. ) So I...
[2 replies] Last: A "string" is really just an array of char , whose last used elemen... (by Duthomhas)
I need some concept clarifications
 
Q1. struct CommuPacket { int iPacketType; union      { struct structA packetA; struct structB packetB; struct structC packetC; } }; I ...
[2 replies] Last: Your questions are related to plain-old C, not C++, but the following ... (by Duthomhas)
by masiht
classes and member functions
 
Hello , I have made a simple program.Can any one please tell me how to make the same program using class and member functions ? #include<iostream> using na...
[3 replies] Last: lol I didn't meant .app files, I meant App.h and App.cpp where App its... (by PSPMAN90)
Failed to register output
 
Hi, I am a biginner C++ programer. I wrote following simple Hello World Application. I have MS visual studio 2005. When I build the project I get following ...
[4 replies] Last: Thanks a lot for the feedback. I figured it out. While creating ne... (by columbia2009)
Class
 
Hey guys, Can you please help me? I'm trying to creat a class, but I don't know how to do it Can you help me doing one with header files? Thanks, See...
[1 reply] : read the tutorial: http://www.cplusplus.com/doc/tutorial/classes/ in ... (by Bazzy)
April 2009 Pages: 1... 1718192021... 28
  Archived months: [mar2009] [may2009]

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