Beginners - August 2015 (Page 23)

!!!Help!!!Basic data structure Q.
 
Suppose that p is an int* variable. Write several lines of code that will make p point to an array o...
[9 replies] Last: You might encounter terms allocate and deallocate too. Dynamicall... (by keskiverto)
need help with recursion
 
hello everyone , I've been trying to implement some sort of code based on recursion and since I have...
[no replies]
Adding spaces at end of every record in a file except the last two records
 
Hi friends, I am reading records from an external file to process them, but before processing them i...
[2 replies] Last: Entire data then moves to a string for processing. Cannot be "huge" ... (by keskiverto)
Operator << in i/o streams
 
Today I met some difficulty in operator << when learning the Standard Library, as follows. Operato...
[1 reply] : Order of evaluation: Order of evaluation of the operands of almost al... (by JLBorges)
diamond
 
Good day Experts and Professionals :) I would like to ask help how to make a diamond like this. Wh...
[8 replies] Last: Or using just one loop: #include <iostream> #include <string> #includ... (by CodeWriter)
Modulus operator question
 
I am trying to see if all the numbers below 1000 are divisible by 3 or 5, however when I execute the...
[4 replies] Last: hahahaha I totally noticed that after I posted it xD (by Outlaw782)
Alternative to ctime
 
Whenever I call ctime, I get the following error Error 1 error C4996: 'ctime': This function or ...
[18 replies] Last: I yield. [I was wrong.] (by Duthomhas)
If Statement Help
 
Hey guys, complete noob here. I need help with figuring out how to get an if statement to check al...
[12 replies] Last: So now I'm having a completely different issue. I don't know if the sa... (by oobilator)
issue with using names variables rather than numbers...
 
I wrote my program to help people assign service tickets out to techs in my IT department at work. T...
[8 replies] Last: Worked like a charm guys. Thanks for all the good ideas to get me out ... (by ironsoldier71)
About recursion palindrome
 
In my function palindrome, i just successful to compare 1st char and last char only.. How do i comp...
[1 reply] : You never actually make a recursive call. To be recursive, palindrome ... (by AbstractionAnon)
e^x function
 
hi plz help with my homework,I have to write a program that gave me an answer: x-((x^3)/3!)+((x^5)/5...
[2 replies] Last: You're incrementing n by 2 each time, but your code is written assumin... (by helios)
Using Iterators to find the union of two vectors
 
So this code is suppposed to find the vector between two vectors that a user inputs. The program bui...
[2 replies] Last: Do you mean union as in set unions (math concept) or just "values wh... (by MiiNiPaa)
by YowHow
Default value of return
 
If i have this code if(somethingNotRight){ return; } What is it that Im returning? Is it just to...
[1 reply] : You don't show the type of the enclosing function. If the the enclos... (by AbstractionAnon)
by JP744
Win32 Async client multithreaded application
 
Hello, I post here after about 2 days, 6 hours per day of reading many many articles over the inter...
[no replies]
by Kew
Function Wait for an input without blocking the loops?
 
i am using Mac os X, which running Unix system. i had tried getch() function which can't work in thi...
[no replies]
Pass-By-Value vs. Pass-By-Reference
 
Could anyone confirm this for me? So, my understanding of pass-by-value is: the value that was pa...
[2 replies] Last: One clarification. The OP refers to the value changing (by referenc... (by AbstractionAnon)
by TommyL
What is the point in returning my variable?
 
So this is my code #include <iostream> using namespace std; int numbers(int a, int b){ ...
[2 replies] Last: what is the point in returning "sum." The point is to return the res... (by AbstractionAnon)
C++ Dice Rolling Using Arrays and Functions
 
Hi there, I'm trying to make a solution for this problem. Can someone please help me in writing this...
[4 replies] Last: I think you only use srand(time(0)); at the start of your program not... (by CodeWriter)
Is it possible for memory used by my program to remain after it has closed?
 
I've noticed when I open and close my program multiple times, my ram starts filling up. Up to gigs w...
[7 replies] Last: Visual Studio certainly consumes a lot of memory, especially in debug ... (by coder777)
arrays
 
#include <iostream> #include <conio.h> #include <cstdlib> using namespace std; int main () { ...
[1 reply] : First when you hit the new topic button you will see that the code nee... (by CodeWriter)
August 2015 Pages: 1... 2122232425... 28
  Archived months: [jul2015] [sep2015]

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