Beginners - November 2011 (Page 9)

Removing everything but letter from array of strings
 
Hello, Currently I'm trying to make a project that reads a bunch of strings and stores them into an array of strings. The problem is I need to remove any chara...
[no replies]
Polynomial Class... (1,2)
 
Design and implement a class that is a class for polynomials. The polynomial anxn + an-1xn-1 +...+ a0 will be implemented as a linked list. Each node will cont...
[28 replies] Last: When I edit all the things you mentioned,the input of zero is ok,but ... (by hentaiw)
Should I be using a char array?
 
For reading in four bytes at a time, modifying them and outputing them untill bytes<=3 ? I want to manipulate the data in hex. What should I be using?
[3 replies] Last: I think it depends on how you are going to manipulate the values, what... (by Peter87)
by aine
computer graphics
 
write a code of compuer graphics that there is a rectangle ,through which a line is passed and after some processing ,part of a line which is outside a rectangl...
[4 replies] Last: computer code that a line of color red ,when passed through a rectangl... (by aine)
When should I delete my in-function pointers?
 
I'm sorry if this is in the wrong section, I'm brand new here. I have a function that is supposed to take in movie information from a file, and organize it int...
[3 replies] Last: right (by hamsterman)
Password protection
 
can someone tell me how to make a very basic password lock that will open befor programs?? and when the password is entered the program opens?
[1 reply] : use if..else statement if(pasword=="something") { } else { } (by asfandahmed1)
by erikn
3D Tic Tac Toe!
 
did this as an exercise, based loosely on the Carol Shaw Atari 2600 version. i know the code's kinda cluttered. at first i didn't think anyone would ever read ...
[4 replies] Last: int normalizeINPUT (string inp) { int i, q; string n; fo... (by erikn)
by lONLEY
function ...!
 
hi people ... anyone can help me to devide this code into one function or more i couldnt do it i tried for 3hr i will use this function to make sure that the u...
[1 reply] : ????? (by lONLEY)
Help with Logic
 
I have a line like this word file1 3 file2 8 file1 5 file2 11 file3 9 Can anybody give me a logic to give the output like this word 3 //because it is pr...
[3 replies] Last: I need to think about this one. Can you give me a deeper explanation a... (by Ben Duncan)
by ypnoob
class access clarification needed
 
Hello all, i have a operator+ overloaded following way: complex complex::operator+ (complex rhs) { complex tmp; tmp.real = real + rhs.real; ...
[2 replies] Last: rhs can access real and img because rhs is of class complex. Does the... (by IceThatJaw)
by abiz
displaying integers
 
Hello, can anyone please explain why this does not display like i wanted it to. #include <iostream> using namespace std; int main() { int a=72; ...
[2 replies] Last: Let's start with the basics: Though a computer is one of the most stup... (by Ben Duncan)
by dr8086
Error with code identical to code which compiles fine
 
Hello all, I'm writing an application which uses libraries written by someone else. They include a bunch of examples with their code, which all compile fine...
[5 replies] Last: I figured out what it was. There were a few .lib files which were need... (by dr8086)
Problem with for-loop variable value
 
Hello, I'm following the example at http://www.cplusplus.com/doc/tutorial/structures/ but I seem to have hit a strange problem. If I run the following code:...
[3 replies] Last: You're welcome! :) (by Caprico)
How to Print Sequence with single for loop?
 
Hello hope all of you would be safe and sound.My problem is that dears i want to print following output so how could i make program for this.Single for loop sho...
[5 replies] Last: zugvogel, your logic may be correct, if you see her other posts, you'l... (by Caprico)
by moot1
do while
 
why doesnt this do while loop work.when i get my answer and it just skips over the "would you like to restart "? #include <iostream> using namespace std; in...
[12 replies] Last: Should be a green check somewhere at the top. Go ahead and click it, a... (by Code Assassin)
New to Pointer, there are some wrong.
 
I am new to pointer. I want to convert decimal to binary with pointer array. int main() { const int max_number = 0; int* bin_number = new int ; ...
[1 reply] : bin_number is pointing to an array in your program so you must access ... (by IceThatJaw)
Overloading Brackets
 
Hello everybody, I am trying to write my own vector class using a linked list. But I am having trouble overloading the Brackets. Here is my code. template <typ...
[5 replies] Last: You do not have to overload the subscript operator twice. But............ (by IceThatJaw)
by LazyJ
How would i go about making....
 
this http://www.youtube.com/watch?v=k646qiIi-dA but in c++? thx
[4 replies] Last: ... well "thank you" (see what i did there i didnt write thx) (by LazyJ)
Sorting a 2 D matrix
 
Hi , I have a 2 D matrix which is a vector <vector> type. I wan to find out the unique rows. To use std::unique the rows have to be sorted. I tried using std...
[no replies]
by moot1
code blocks users
 
when i first started using code blocks i pressed the down arrow to get rid of the box at the bottom of the screen that tells you the errors in your code when yo...
[7 replies] Last: http://www.cplusplus.com/doc/tutorial/dynamic/ Although you could use... (by TheMassiveChipmunk)
November 2011 Pages: 1... 7891011... 65
  Archived months: [oct2011] [dec2011]

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