Beginners - April 2011 (Page 48)

C++ Error in Array variable (int)
 
Hello, C++ is a rather new programming language to me, But I have been working with different languages which are making things slightly easier to me. Neverthe...
[6 replies] Last: Well, okay. In all honesty, I didn't suggest a vector because I wasn't... (by Albatross)
Double Pointer Trouble
 
I'm trying to fully understand the pointer concept. I'm moving onto the double pointer( pointer to a pointer ). Here's the code: struct BASE { } Base, *p_...
[3 replies] Last: You guys are awesome. I just added ( *pp_Base ) to the front of pp_... (by closed account zb0S216C)
ponteiros-apontadores
 
can someone help me make the following program in C language? 1-Write a program that declares a 100x100 matrix of integers. You must initialize the array with ...
[2 replies] Last: Nós não damos soluções prontas aqui. Se você começar a escrever ... (by filipe)
by Bog
functions
 
I don't understand this assignment and what I should do. Write a function called twenty that takes an integer variable as input and changes that variable to ...
[3 replies] Last: Hi Bog, I believe what you need is a simple one line function that t... (by dangrr888)
i dont know what is wrong with my program
 
ive just started programing and im 13. this is what ive done so far #include <iostream> using namespace std; int main() { char a ; char b ; int c; b...
[4 replies] Last: You are using C-strings incorrectly. http://cplusplus.com/doc/tutorial... (by Branflakes91093)
std::list problem with copy constructor or ???
 
I have a std::list of objects. When I create a local variable object and push it onto the list, I am getting a debug assertion error when the local variable ge...
[1 reply] : mpInput, mpCurbox, and mpCursor are all pointers. Here's your pro... (by Disch)
Issues with randomness...
 
I have no clue what I'm doing wrong here.. void Gene::RandomizeBits() { string temp; for (int i=0; i<4; i++) { if (rand()%2) temp...
[11 replies] Last: data_ isn't a vector, it's an array declared as a member of Gene. (by pabloist)
by Zagg7
C++ Mouseprogramming
 
Hello, I`ve a small problem with the mouse- programing: These is the program I`ve already done: generally it works, the only problem is, that the y...
[7 replies] Last: [quote=Zagg7]But all other programmlanguages are based on this... (som... (by Return 0)
Extracting from Input and Writing to Output.
 
One of our recent LAB assignments was to take some provided input files and use them to create complete C++ Programs. The second one of which gave me a bit of t...
[2 replies] Last: static_cast is good, but you might also look at transform. (by ciphermagi)
by TimL
Generally accepted syntax for assigning values to variables
 
Hello again. I have a question in regards to what is the generally accepted syntax assigning values to a variable. I have learned that there are two ways to ...
[6 replies] Last: Thanks again. I didn't think it would be possible to use the second co... (by TimL)
by kwb13
Any prefer ??
 
Hi i tryed some coding but i used the program Dec C++ but i keep gettin those errors so i deleted it ... so any prefer wich program is better to use ?? Thank yo...
[4 replies] Last: i think you need to add a header file #iclude <cstdlib> (by tejashs)
Unhelpful Errors...boo
 
I get the following 163: error: expected `;' before 'buck' , which I believe is rather meaningless when considering the code. A relevant portion of code: ...
[2 replies] Last: I understand. Thank you very much. I'll be sure to watch for this pr... (by ricomoss)
by wasabi
Using user-defined environment values in "Include Directories"
 
I'm currently working on a project from two different computers. Each one of them is set up differently. So, when I go from one computer to the other, Visual St...
[3 replies] Last: Yeah, I posted in the MSDN forums about this and they suggested that. ... (by wasabi)
Is it possible to make this program become automatic?
 
Sorry I don't know how to express it in English, so I use some codes to show what I am trying to say template<typename strategyOne, typename strategyTwo, ...
[no replies]
Recursion Problem :-/
 
Soooo the assignment goes as follows: Write a C++ program that will output the number of distinct ways in which you can pick k objects out of a set of n obj...
[4 replies] Last: Conan, please don't solve homework problems for people. From my experi... (by Albatross)
letter grades
 
hello, I'm somewhat new to programming in C++ and have been given the task of writing a program that inputs letter grades, however I am having a difficulty inpu...
[4 replies] Last: hello, sorry for not posting earlier, thank you I was able to get it. (by illlojik)
by heidiK
store linux command in variable
 
Hello everyone I'm trying to use linux command in C++ code to find out the number of lines in a file. Here's the line of code system("wc -l < 00403.dat...
[2 replies] Last: Alright Thanks Athar :-) (by heidiK)
I need help with my ' if statement'
 
Below is a section of my coding, everything works fine except for the bolded section. Can someone please help explain why it won't output 'V' if the input isn'...
[2 replies] Last: I really appreciate your help, my program works now. Again, thank you ... (by cheeeeseface)
Functions and Arrays... Help!!!
 
I need to write a program for class that calculates student averages and quiz averagages. It has to read a 2-dim array from a file that looks like this: 10 10 ...
[3 replies] Last: @Ramses12 Thanks so much!!!! You are awesome. I really appreciate you... (by andimiami)
C++
 
Hello i am new in this forum. so tell me please What is C++? From where I can learn. Please guide me the best institution that is teaching C++ in the wo...
[2 replies] Last: What is C++? : http://www.cplusplus.com/info/description/ From wher... (by closed account z05DSL3A)
April 2011 Pages: 1... 4647484950... 55
  Archived months: [mar2011] [may2011]

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