Beginners - March 2015 (Page 21)

HELP !
 
Write your question here. Write a program to determine how 4 fours can be arranged in expressions that evaluate to a given value using simple arithmetic...
[no replies]
Compiling multiple files (netbeans) on a Mac?
 
How can I compile multiple files using netbeans on a Mac?
[no replies]
Any help would be appreciated
 
Write a program, that uses three separate functions, to capitalize the first character of each word in a given phrase, insert a “:” separator symbol between...
[3 replies] Last: Can you break it down it terms of a sort of psuedo code? For instance... (by macler16)
Any help would be greatly appreciated
 
Write a program, that uses the following algorithm, as part of a function, to determine if a number n ≥ 2 is a power of 2, such as 21 = 2, 23 = 8 or 210 = 102...
[2 replies] Last: Can you break it down it terms of a sort of psuedo code? For instance... (by macler16)
Copy Constructors
 
How would i write the function pro type and definition for a copy constructor? my attempt is at the bottom of the class. Wasn't really sure about the pointer ei...
[2 replies] Last: Aww I think your right that makes sense Thanks (by macboy49)
Help with Maze Game Assignment (1,2,3)
 
Hello, I'm trying to get started on a Maze game assignment and I want to make sure I'm setting up my classes correctly, before moving into functions and reading...
[42 replies] Last: main.cpp #include "pacman.h" int main () { Game game; //... (by androidguy1)
by chilos
Making a box out of asterisks problem
 
Hello, guys. I am trying to make a hollow box out of asterisks whose size is determined by the user. Check the comments to see what I mean if it's unclear; also...
[no replies]
Project in Codeblocks IDE
 
SO IN uni we started software engineering in java and is so nice how different classes are organized under one project and packages and come run time the compil...
[4 replies] Last: THANKS THANKS THANKS (by donvigor)
Writing to a file help please
 
Hi, I have a function that opens a file and writes to that file Void writeToFile() { } I have other functions that when those functions r called, I w...
[5 replies] Last: check rdbuf(); Aceix. (by Aceix)
references & pointers
 
Hi all, a got a problem that i just realized several days ago about my increased sensitivity to using local pointers and references, well previously i didn't ha...
[12 replies] Last: That is a correct snip. You shouldn't RETURN a reference, unless you h... (by S G H)
Unable to open a file with i/ofstream
 
I'm trying to write an [inefficient/insecure] form of encryption/decryption software. I have the encryption down and it looks beautiful. But the decryption soft...
[4 replies] Last: @TieRein Don't you already know how to open a file? That's what you ... (by fg109)
Which of the following function overloading isn't valid question?
 
I'm kind of confused by this one question. WHich of the functions implementing operator overloading is not valid. I'm kind of confused by the jargon usage. I'm...
[4 replies] Last: You have to make sure that you don't have any typo's here OP. Make sur... (by Computergeek01)
magic square
 
Write your question here. how can we do a program that takes the dimensins of a magic square and fills it ? ,Thank you
[1 reply] : Here is an article about the algorithm. This should help: http://en.... (by koothkeeper)
by Skanin
Split a string?
 
Hi. I am making a calculator, and I manage to add two numbers with two lines and two different inputs. I am now trying to make it avaliable to input two numbers...
[2 replies] Last: Thank you so much! :) It worked. (by Skanin)
by SCB3
Multi Dimensional Array help
 
aaa
[4 replies] Last: thanks, but I now cannot get that to display anything but the char arr... (by SCB3)
Creating a constructor
 
How would I create a default constructor here? class Employee { private: int idNum; double hourlyRate; public: Employee(); void setIdnum(const int);...
[3 replies] Last: Thanks I thought that was what she wanted. The constructor to initiali... (by MalcolmDane)
Move Arrow Key Help?
 
Im new and creating a game in C++ and I have been given a sample program, and I am really confused. If anyone has the time to talk through or help me that would...
[no replies]
wrong output
 
so im writing a game of life code that will make a glider gun pattern but i have to use the fstream to get the values from another file. this is what i have so ...
[1 reply] : I don't see your program read from a file anywhere. In savePattern you... (by Peter87)
by koopey
Passing dynamically allocated 2-D array to function!?
 
Hi guys! I was beginning the practice problem in pointers. the first problem was: "Write a function that builds the multiplication table of arbitrary dimension...
[3 replies] Last: oh works fine now. strange that didn't work initially the same code an... (by koopey)
Program will exit out if "n" is inputted?
 
If I input "n" for the first question, the program drops out instead of continuing to the next question. How can I allow the program to go to the next question?...
[5 replies] Last: I've been making so many silly mistakes tonight. Thank you for your he... (by catpokemon)
March 2015 Pages: 1... 1920212223... 51
  Archived months: [feb2015] [apr2015]

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