General C++ Programming - October 2011 (Page 10)

how to replace particular row and column value
 
hi i have a matrix. in this i need to modify only particular value( 5th row 6th column) for this case how to write code ??
[1 reply] : matrix_name = value; ? (by closed account D80DSL3A)
Help with struct
 
I'm working on a school project and they say I have to use a struct for these variables. After I create an instance of the struct I can't access the members?? A...
[2 replies] Last: i typed everything again and it seemed to work!? wierd (by tweetzzzzz)
by proLab
No matching function for call...
 
'This line is getting the error no matching function for call to TicTacToe::setField(int&, player*&)' // TicTacToe.h void setField( int aIndex, const Playe...
[8 replies] Last: hmm nevermind works great! i accidentally removed 'f'... thanks a tonn... (by proLab)
by Knar
random string or char array to matrix
 
Ey all. Im folowing a c++ course and im stuck writing string or char arrays to matrices. The problem is i have a matrix of size with random values from...
[no replies]
very very new
 
Hi I'm using dev-c++ for the first time while trying to learn the very basics of programming in C++. I tried the code below which everyone in the coding wo...
[4 replies] Last: You don't actually need "#include<cstdlib>" to use "system()". U... (by Moschops)
need help in c++
 
I need help in c++!
[no replies]
Can't get program to work. Beginnner.
 
#include <iostream> #include <cmath> #include <cstdlib> using namespace std; void GCD(); void fact(); void fib(); void prop(); void dio(); vo...
[1 reply] : Not sure what errors it gives you or what happens, but to call a funct... (by Pluto is a Planet)
typeid argument in runtime
 
Hi All, I need to get the method return type . So i'm using the RTTI typeid() method.So i need to pass the methodname as argument. But i want to give tat v...
[no replies]
find return type of method using typeid
 
Hi All, I want to get the method return type. I'm getting it through typeid . typeid( method1( "sample" ) ).name(); But the argument for method1 is a QStr...
[no replies]
nested loop problem
 
i have my very difficult problem : here it is : the output must be : Enter number 5: \\output...... 1 12 123 1234 12345 here is my code : #...
[1 reply] : try the following code #include <iostream> #include <conio.h> using... (by Srija)
Let's Form an Computer Group!
 
Hi. I would like to form a group of people where we can discuss about C++ online maybe through a mic. I'm quite new to C++ and I'm really excited to learn mo...
[no replies]
Newbie Question
 
Hey guys, I have a pretty simple question, regarding why my program is not working... I know this is a REALLY easy program, I'm just tired and messing around wi...
[4 replies] Last: Ohh! I completely forgot about that... I really need to go get some ... (by GlobeOfGeek)
need help with a Caesar Cipher for C++
 
Trying to create a Caesar Cipher that ciphers and deciphers. I keep getting errors and I try and fix it and I need help here is the program that I have so far. ...
[1 reply] : @kkenner You have a lot of things wrong with the program, as it stan... (by whitenite1)
by Thanz
Is there someone expert???
 
Dear fellows I'm facing a problem in this program I tried to rectify the mistake a lot but all in vain.. The result of this program shows an extra line of 1(lik...
[2 replies] Last: Great......Tyx a lot.. (by Thanz)
error C2110: '+' : cannot add two pointers
 
HI writing a simple payroll output program with Visual Studio 2010... I get the C2110 error while trying to add strings without assigning them to a string objec...
[2 replies] Last: gee that was fast :-) !!! I'll check it out... EDIT: option 2) is wor... (by AeonFlux1212)
by JBlitz
Help with encryption algorithm?
 
Im trying to write a code for a ceaser cipher, and it needs tp be done with arrays or related objects (vectors). Im currently having problems with the encryptio...
[1 reply] : if I didn't know the length of the string coming in I guess I would us... (by Azagaros)
Bracket Operator
 
Hi, so iv been working on a program that checks bracket nesting: i.e. str = ({} ) would be nested properly str = ({)) would be wrong this program h...
[4 replies] Last: Your algorithm looks right from where I was standing. It was the stru... (by Azagaros)
nested structure pointers
 
I am working my way through "thinking in c++" volume 1, and have come across something I do not think I understand completely: In the implementation of the mem...
[1 reply] : Duplicate thread: http://www.cplusplus.com/forum/beginner/53172/ Pleas... (by closed account D80DSL3A)
Sentinel control fragment
 
Hello, I am new to programming and this forum, so if I am not following protocall here please let me know. I have the following code fragment that was giv...
[3 replies] Last: The only thing I could ask, if I am to process the sentinel or not? T... (by Azagaros)
by Nawaf
Calculator program
 
Hey Everyone, I need some help with a calculator program. I am not too good with programming so I am having so many difficulties with this calculator program...
[7 replies] Last: Thank you for your help. I finally noticed the differences. It took me... (by Nawaf)
October 2011 Pages: 1... 89101112... 36
  Archived months: [sep2011] [nov2011]

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