Beginners - November 2010 (Page 24)

Row operations on a matrix
 
I’m working on the matrix inversion task and I almost have it. My strategy is to do this; 1 3 3 1 4 3 1 3 4 So I take the inputted matrix and make it ...
[1 reply] : You should use vector of vector because it is dynamic and you can incr... (by screw)
what is a container class?
 
what is a container class and how do you use one
[5 replies] Last: how could I initialise one (by Blessman11)
ternary operator question
 
foo ? bar = (true : false); //valid ? also foo ? cout << ("str" : "str2"); //valid ? thanks :)
[2 replies] Last: Thanks :) (by Mr and Mrs D)
by firix
illegal reference to non-static member
 
Hi friends, lass SUS{ int x; int y; public: SUS(int xx) { x = xx; y = xx; } friend class names; }; class Tam{ char *p; char...
[9 replies] Last: thanks Bazzy (by firix)
by firix
Compile with CLR
 
Hi, how to integrate active "CLI"? Before compiling clr switch, I need to put Where?
[5 replies] Last: I could not (by firix)
by wtf
Are there anything like code translators?
 
Yeah I know there are reverse code generators, but what about if you want to take a project that has been consuming your life and translate it to python and the...
[3 replies] Last: Thats what I'm using the translator for, because I don't know it. Wro... (by Bazzy)
problem with program that takes in lines of text
 
Hey guys, I'm trying to make a program that will take in a line of text and output it back, while using a period as a sentinel. I have it working and using the ...
[8 replies] Last: I found the answer for my problem finally. It's very similar to your c... (by johnny157)
by Eyecon
Invert AZ program
 
I am trying to make a program that will reverse the characters of the word i will give from A-Z to Z-A example: if i give "abc" it will give "zyx" My code ...
[8 replies] Last: @filipe: I know, but the purpose of this forum is to not post direct ... (by Kyon)
Check for Lower and UPPER case
 
Hi, I am using this script which checks players names but i want it to check for upper and lower case names as it only checks for upper case , would anyone k...
[1 reply] : I hope you realize this is a C/C++ forum. If you want help with script... (by Zhuge)
cin save line to variable without extracting
 
Hello, I am all new to C++ and have a school assignment where I have characters from cin>> being saved in diverse places. What I need to do is to get the li...
[1 reply] : I don't think there is a way, but really, you don't need that. How ab... (by hamsterman)
vector of vectors and 2d arrays
 
is there some way to store 2+ 2d arrays in a vector of vectors? I have this and I want to store both the arrays in the vecMaze. #include <iostream> #in...
[no replies]
by mwmnj
Data validation Loop problem!
 
I am trying to make a loop that validates the data entered meet certain conditions. I got it to work with data that only has 1 or conditions to meet using the o...
[2 replies] Last: Yes! thank you so much! (by mwmnj)
identities ? ?
 
i was wondering how is it possible to create a program of identities lets take into consideration the identity 2 2 2 (a+b) = a + 2ab + b...
[3 replies] Last: hmmm so does that mean its pretty hard to make a program can you ma... (by im abcd)
Should I just jump straight in to C++? (1,2)
 
Since I had my Spectrum back in the day, messing around with BASIC I've always wanted to get into programming. Although, I never actually made anything since I...
[39 replies] Last: If it weren't for my own bad experiences using c++ I'd say that I'm to... (by wtf)
command line calculator
 
Hey everyone, sorry for the multiple post so close to each other, but I can't seem to find the problem with this one. It's a simple add and subtract calculator....
[2 replies] Last: Thanks that works perfectly, I hate how it always ends up being one of... (by johnny157)
problem with array -
 
I am having problems with my code involving arrays. I am asking the user to input letters until they enter an exclamation point. At that time, I am asking them ...
[2 replies] Last: in the code, you are not checking the character array limits. The use... (by vvadan)
Function Program
 
Hello All, I'm writing a program that, by using functions, begins by initializing an array (Array1) of 20 values with all zeroes (using the program Initializ...
[3 replies] Last: change the InitializeArrayAsc to void InitializeArrayAsc(int arr... (by vvadan)
using a double in a for loop
 
Hi I have an issue with an, "Illegal use of floating point in function" for (double i = 0; i < numTerms; i++) { if (term == Terms ) { return tru...
[6 replies] Last: great stuff guys, you all are soldiers, thanks so much.. I think this ... (by keewong)
function problem
 
Hi all, I'm working on a midterm project, its long, but my question is about a small portion of it. I'm listing 3 options for auto-coverage; 1) sem...
[4 replies] Last: change the function void input(int selection) to void input(int & sele... (by vvadan)
by toks
strcpy function
 
Hello, i cannot figure out how can we use the strcpy() function instead of the code below: char useful ; int i=0; for(; i<4; i++) ...
[2 replies] Last: Thank you very much JSMITH . (by toks)
November 2010 Pages: 1... 2223242526... 42
  Archived months: [oct2010] [dec2010]

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