General C++ Programming (Page 34)

Why is there no else + loop statements in C++?
I find logical occurances all over the place for things like if(condition) else while(condition is t...
[2 replies] Last: re: if(condition1) else if(condition2) while(condition2) You are ... (by Duoas)
by JNW
pointers problems
/*************************************************************************/ /* Dear all i am having...
[2 replies] Last: you are reading like if it was a 1d array, but is 2d . it is different... (by Ericool)
Need Dev C++ Help
How would you write this code using a recursive function? #include <stdio.h> double power(double...
[5 replies] Last: #include <stdio.h> double power(double a, unsigned int b); // *** un... (by JLBorges)
implementing lamda syntax
I've been staring at the syntax for implementing a lambda for quite a while and I'm hoping that some...
[8 replies] Last: O. That makes sense. Thank you very much for the help and insight. (by kalistibot)
Finding multiple lowest numbers
Im creating a programme to find the lowest paid performer. Below is the function that allows me to ...
[3 replies] Last: Hi, Just go with this for a minute: Initialise the highestPay and ... (by TheIdeasMan)
Need Help (Election program without array)
This is what ive made so far i cant add the total votes and display the names tho :( #include <iost...
[4 replies] Last: I don't see arrays, perhaps you refer to vectors? You could use deque,... (by fcantoro)
moving window and resize bottom flickers
I am trying to make a kind of popup notification window that slides out of the task bar. At the mom...
[no replies]
Whats wrong with my code?
The following codes are able to run and all functions are working fine except for the maxPay functio...
[3 replies] Last: Just realised the problem with my programme lies in menu 1 which I did... (by windeclipse)
Arithmetic Problem Solve
Suppose we have digits 1 2 3 4 5 6 7 8 9 and arithmetic operators +, -, and *. Write a program th...
[1 reply] : Double post. And I gave you the hints: (by ats15)
by rayb20
quicksort using a median of 3 partition
In the process of doing a sorting algorithm project and having some trouble with quicksort using a m...
[4 replies] Last: Median of three should sort the three elements and always return the m... (by Duoas)
Some Help Please!
Why does my code not loop back to the start when "namechange" = 0. The code just stops after it outp...
[3 replies] Last: Changed == into = That would not be correct. Change = to == in your... (by cire)
switching int to perform binary operations?
Hello, I have a function that returns an integer which I'd like to work using binary operations, bu...
[5 replies] Last: I'm not sure I can use constants as well They are not nessesary, I ju... (by MiiNiPaa)
C++/CLI Operators not working right
Can someone shed a a light on this please Some operators are not working correctly, is it me that's ...
[13 replies] Last: Thanks, the comma fixed the issue, now the cacluator is working! :D Go... (by AbsenceDev)
by grag
runtime error (SIGSEGV)
why i got RTE in this code?
[1 reply] : if ((char)a =='10') ans+=10; What this line should do? (by MiiNiPaa)
Learning to write in C++
Hello, i'm currently 17 years old and I am starting to look at university. I am really interested in...
[4 replies] Last: Thanks guys! (by Joecastor)
Connecting to SQL SERVER
I've been developing in C# for quite a few years and am interested in getting back into C++ developm...
[2 replies] Last: Thanks. I'm installing Qt right now to play around with. (by skeasor)
Plagiarism Program
I have been assigned a project to create a plagiarism program that runs through cpp files and counts...
[no replies]
how to update lastaccesstime of a remote file ?
I wanted to know how can I programatically update the "Last Access Time" of a file which is sitting ...
[2 replies] Last: you can use the Windows function SetFileTime. See https://msdn.microso... (by fcantoro)
Question about Printf and Cout (Sorry, EN isn't my mother language so I couldn't make a clearly tittle)
Hi guys! I'm having an issue like these below examples: Example: I have a variable: x = 1.2345 and...
[1 reply] : Yes, you can do the same thing with cout. #include <cstdio> #include... (by Peter87)
stack implementation
I need to reverse the order of the following message in the textBoxl when button I is clicked. "Goo...
[1 reply] : Push all characters in order to stack. Pop characters and display them... (by MiiNiPaa)
Pages: 1... 3233343536... 50
  Archived months: [sep2015]

Cannot post in this page. To post a new message, go to the first page.