Beginners - July 2013 (Page 17)

how to make a program to change password
 
no idea to make this program
[1 reply] : We won't do your homework. Post code so we can see you worked on it, a... (by MatthewRock)
Are you guys sensitive to efficiency?
 
Are you guys sensitive to efficiency? what do you think about the -O2 mode? which mode do you prefer? `-O ' `-O1 ' Optimize. Optimizing ...
[2 replies] Last: http://www.gentoo.org/doc/en/gcc-optimization.xml#doc_chap2_sect3 I ha... (by Peter87)
Is this a problem of Visual Stdio?
 
I wanna try to use set_new_handler and write the code in the following. However when I compile it, the compiler says count in line 10 and 18 are ambiguous symbo...
[2 replies] Last: This is one of the problems when using using namespace std; . It does... (by Peter87)
Any active SDL devs?
 
Just started learning SDL. I was wondering if there were any active developers who use it still that stop by this site? Not going to lie, it would be nice to ha...
[no replies]
Is this possible?
 
I just finished my first semester of C++ so I am definetly a beginner. I work for a company that is in dire need of some updating. I want to create a program ...
[4 replies] Last: Off the top of my head, one way of doing this (and this is a very roug... (by xismn)
Function pointers definitions possible?
 
Is it possible to have a pointer to function that has a definition, like the following. void Print(); void (*pt)(); int main() { pt = Print; (...
[5 replies] Last: How do you declare a function pointer? I was looking for a thing like... (by Superdude)
Combining Bitsets
 
Say I have the following variables: bitset <3> rank, file; bitset<6> square; Is there other way to assign the file bits to be the first 3 bits of square ...
[4 replies] Last: Ah, in that case then I'd guess either what you have or Daleth's sugge... (by Zhuge)
atributes from derived classes
 
I can't understand this error. class Comanda { const string _nume; public: Comanda(const string &nume); virtual ~Comanda(); }; class Coma...
[8 replies] Last: @ne555 I am not feeling well today, and obviously it shows. I feel li... (by TheIdeasMan)
Adding numbers
 
// how do I add all the "prime" numbers instead of displaying them.. //example... cout << "there are 125 prime numbers"; //im using the number 1000 becaus...
[1 reply] : You would want to do something along the lines of checking to see if i... (by Hambone)
Basic read file program using Xcode
 
So basically, I was trying to read a file using C++ and Xcode, and since I haven't coded in a while, I was having some issues. I started to suspect that somethi...
[1 reply] : your program works fine!! (by dhruv90)
by nmn
can't find source file error
 
Hi, Can you tell me what I should be looking for when this error occurred: "Can't find a source file at "malloc.c" Locate the file or edit the source lookup...
[8 replies] Last: go to eclipse.com you can download it there. I think I am closing in o... (by nmn)
Pointer Variables
 
I do not understand pointer variables at all. My book tried to explain it, but I have no idea. Things like this : int* nVar = pnVar; //so on and so fo...
[5 replies] Last: See http://www.cplusplus.com/doc/tutorial/pointers/ (by jrfrago)
Alternative to <iostream.h> under gcc or better
 
Well, I'm getting some error from GCC about a non existing <iostream.h> and was wondering if I would have to configure my Debian box in a way that GCC won't rep...
[9 replies] Last: @Peter87 Thanks lol, that made all the difference. (by SevensandThrees)
Operator 'new' - dynamic memory allocation
 
I don't really have a specific example, but I have been learning about the 'new' operator and I'm a little worried about what I've been reading. I know that yo...
[2 replies] Last: Would occur only within your application and would not affect the syst... (by AbstractionAnon)
by Slazer
call of overloaded 'divFnc(double, double)' is ambiguous
 
I have an overloaded method "divFnc". When I call it at FIRST_CALL there is no error, but when I call the SECOND_CALL there is an error (call is ambiguous). Why...
[5 replies] Last: Yes I get it now. Thanks. (by Slazer)
by ar2007
array of class
 
hi. I can not find a satisfactory explanation for the dynamic memory management with an array of class. can anyone help me? I know this but don't understa...
[2 replies] Last: it is true. I found the code in http://www.cplusplus.com/forum/general... (by ar2007)
Accessing another directory
 
I have a function declared in a header which is located on Project/Calculs on namespace Project::Calculs I need to use it in a cpp which is locatted on Project...
[no replies]
by fuat
Project Help-Please look my last reply
 
Hi everyone,i have this program for an school assignment. the goal of program is that encodes the user name part of a given e-mail address and creates a passwor...
[5 replies] Last: Please help me guys I stuck in second encoding part. (by fuat)
by efalu
Dynamic lists: .end() not working
 
Hi guys! I am working with dynamic lists. I found that if you have inserted (.push_back) an object at the end of the list and you try to get the iterator of th...
[3 replies] Last: That's not the correct way to find the last element. The past-the-... (by AbstractionAnon)
Lost in the loops!
 
I'm attempting to make a text-art fish tank that can hold multiple text-art fish in random positions. The displayTank() function works well other than the fact ...
[no replies]
July 2013 Pages: 1... 1516171819... 53
  Archived months: [jun2013] [aug2013]

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