Beginners - April 2012 (Page 39)

Explanation of the operator= method overload?
 
Can anyone explain to me what the purpose of the assignment operator method should look like? Are yo...
[1 reply] : If that's what you want to do, then yes. (by Gaminic)
by Baso
What these codes supposed to do?
 
Hello everybody I was reading some source code for Sudoku solver and I found these codes, but I ...
[1 reply] : Those are bitwise operators, more specifically: 1: bitwise OR (and as... (by Gaminic)
major problem with my .exe app
 
so i released the executable app for the program through my IDE after my programs' done, but I reali...
[3 replies] Last: ok but how do i add my own description to the file itself once release... (by MyGirlfriendLikesPorn)
Program not doing the right thing ... it is failing to output!!!
 
Here is the code: #include <iostream> using namespace std; void otherfunc(short* ref); struct...
[6 replies] Last: thanks so much the original OP is my other account but for some reason... (by MyGirlfriendLikesPorn)
Need help figuring out the last problem to a craps game
 
Hello, I am in a beginners C++ course and have to complete a craps game assignment. The only spe...
[1 reply] : cout << "Your roll: " << die1 << " plus " //You cout die1 twice, in... (by BlackSheep)
by wd40
Error 1 error C2512: 'Date' : no appropriate default constructor available
 
I am having issues developing my classes for a project. I am getting error C2512: "Date" no appropri...
[3 replies] Last: I suggest method 1 as all it requires is just giving the existing con... (by guestgulkan)
by kready
Array advice would be appreciated (1,2)
 
I'm new in c++. I have an assignment as follows...... The goal of this assignment is to use a 2D ...
[27 replies] Last: alright everything is working great. Thanks everyone for the help i ap... (by kready)
Help with headers
 
Encrypt.h #ifndef encrypt #define encrypt #include <iostream> #include <string> #include <fs...
[3 replies] Last: try void encrypt(std::string phase) (by ui uiho)
Encrypt thing
 
Hey, I'm trying to encrypt a message and I need to know how to convert an ASCII value to a char so I...
[2 replies] Last: Thanks! (by Ryan Bush)
Pointer, class, overloading
 
Hi guys, Have trouble cleaning up code. I can do it without overloading, but code is so much clea...
[13 replies] Last: Thanks, I already ordered two books from chapter.ca, so I will put yo... (by toomanystars)
Help encrpyt message to lower case
 
1. Write a function with the following prototype: void toLowerCase( char [ ] ); The function recei...
[1 reply] : convert is c = tolower(c); for simple encryption just do if(!iss... (by ui uiho)
by xirtam
division returns same number regardless of numbers used
 
Hello, I'm having a bit of a problem with a school assignment. The getWeight function seems to retur...
[10 replies] Last: So I just have to override the setWeight function because when the set... (by xirtam)
string base class
 
I was wondering if anyone could help me? I created a class in c++. I did not use anything as a ba...
[no replies]
help with decrypt and encrypt
 
1. Write a function with the following prototype: void toLowerCase( char [ ] ); The function recei...
[no replies]
by TTT
Classes
 
who can tell me why this program work incorrectly? #include<iostream> using namespace std; cl...
[10 replies] Last: char *names ; why make an arrow of pointer chars? use a vector of stri... (by ui uiho)
Confused with "pointers" in C++....
 
Like I read the tutorials, but Imma kinda lost. So there's "two" kinds of pointers, and they used...
[1 reply] : there is one kind of pointer. it points to the memory allocated by a v... (by ui uiho)
Help me clear my mind on this mystery
 
Hey guys,i was reading alot about the maker of C++,Bjarne, and i was redirected to a website http...
[3 replies] Last: http://www2.research.att.com/~bs/bs_faq.html#IEEE (by firedraco)
Sense of Unions?
 
ok, to my understanding a Union is identical to a structure but all union variables occupy the s...
[2 replies] Last: Thanks for the explanation Framework. (by gmenfan83)
Reading info from a file into arrays
 
I am not sure what I am doing wrong but I am only getting the first number in the txt file. txt...
[8 replies] Last: Got it, thanks again. (by closed account 2EURX9L8)
unable to run a program file
 
hello guys,my program does not run.The compile log gives me an error written: Compiler: Default comp...
[7 replies] Last: Does it still do nothing when you open it? If so, please post the cod... (by LB)
April 2012 Pages: 1... 3738394041... 66
  Archived months: [mar2012] [may2012]

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