Beginners - July 2014 (Page 13)

by dev144
Error
 
Error
[1 reply] : No idea what it means by using a for loop and a while loop, but here'... (by Ganado)
working with text files
 
How could this be modified to also output the first and last word in the file? #include <iostream> #include <iomanip> #include <fstream> ...
[3 replies] Last: also how could i find the longest word (by kzaiter)
functions documentations?
 
hi every one i was watching tutorials on YouTube and one of them mentioned there is something called functions documentations that helps you to read about the...
[3 replies] Last: Many thanks for all (by maher12)
calculate all possibileties
 
my probleme is I want it to calculate all possibileties for example the String "AB" I want the input to be like this : AA AB BA BB etc.. #includ...
[no replies]
Function Problems
 
My compiler is showing the error: 'y' was not declared in this scope. I can't seem to find the source. I also can't seem to find anyone else with a similar pro...
[7 replies] Last: I don't think you looked at either of those links if you are asking me... (by giblit)
by yepMe
Copy constructor issue
 
Hi all, We know copy constructor is required either of the following scenario : 1) when we try to intialize one object using another object. 2) When we try to ...
[8 replies] Last: The technical reason is a temporary object cannot bind to a non-const ... (by ResidentBiscuit)
Double free problem (linked list)
 
Hi there! I implemented a linked list as a class in C++. Such a linked list just contains three pointers (to the first, the last and the current element, an ...
[4 replies] Last: You can use smart pointers to handle the cleanup. They're available i... (by discofire)
by omurad
Advanced rand() uses
 
I know the basic uses of the rand() function, but I was wondering if there were more advanced uses for it. I ask this because I am making a program where a numb...
[7 replies] Last: You guys really over looked @Peter87 's solution. His is the best IMH... (by giblit)
Finding complex roots using quadratic forumla!
 
Hello, please help me:i am failing to understand how i would go about getting the sqaure root of a complex number in c++ note this for the code below: ...
[2 replies] Last: Thanks for the reply: one other soultion i found is to use this: ... (by Ozwurld)
by Nezar
double free problem
 
Hi, When i try to free a block of memory (using free()) i had previously allocated for a linked list consisting of only one struct, pointing to itself, using ...
[2 replies] Last: lol Mikeyboy , made me chuckle :D (by Codermik)
hello everyone whats wrong with my code?
 
hi everyone the embeded algorithm was done by my teacher and i implemented the code... what are my errors?.. thanks! // Pseudocode PLD Chapter 9 #3 pg. 40...
[18 replies] Last: You still have problems in your last post's source code and haven't t... (by Codermik)
i can't understand the sense of const qualifier
 
hello everybody...... I am studying refernce to const and pointer to const but I can not understand what sense is ........ if we use a reference to a const or ...
[3 replies] Last: beside optimization opportinity, not everything may be passed by value... (by Cubbi)
Develop Simple Security System
 
A developer wants you to develop a simple security system. The system should be able to give warning (eg beeping) if the movement is detected once the system ...
[1 reply] : We're not going to write your homework for you. Show us what you've d... (by MikeyBoy)
by nebel
About read txt file in c++
 
Hello all, I have a text file which contains words and punctuations like. I tried to use read() to read all the characters in the text file all at one. But when...
[3 replies] Last: Line 23 works on a null-terminated string. You haven't added a null c... (by dhayden)
by ceci
How to redirect user?
 
Hi! I'm trying to program a simple game for a project and I was wondering how I redirect the player back to the main menu? To elaborate, this is a game wher...
[4 replies] Last: @ceci Here's one way. It's just a quick program I threw together, but... (by whitenite1)
Pointer Variable in a Loop
 
Good Morning! I am having problems writing a program. This is my assignment: ****************************************************** Write a program to decla...
[7 replies] Last: That did it! For anyone interested, the final and working code is: #... (by newbplusplus)
by omoe
C++/Cli project crashing when calling managed from unmanaged code
 
Hello guys , I have a project made of c++/cli , Whenever i compile the project under 32bit build it works fine ,However when i compile it under 64bit build whe...
[1 reply] : Problem solved by using DWORD64 instead of DWORD , Was caused because ... (by omoe)
Functions
 
Currently trying to learn about functions and parameters and I wrote this little program that asks for two numbers and adds them. However when I build it says ...
[2 replies] Last: All working now *had a blonde moment I think* thank you!! (by SomeCodingNoob)
Can't change Textbox value in Win32 App
 
I couldn't change textbox value while it is running in output window. The following code snippet is what i've been using in my side. Can anybody suggest me wh...
[no replies]
flowchart
 
in the flowchart can i use else in if statement? or should i complete the answer??
[6 replies] Last: Flowcharts are there for decision making. Yes you can represent an (If... (by elraymonds)
July 2014 Pages: 1... 1112131415... 43
  Archived months: [jun2014] [aug2014]

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