
please wait
by lTachyon
Pointer to a pointer to a pointer .. to a struct
|
Hello. So I have something *like* this: struct node { // magic stuff type t; node *next; } var; I tried to access the next node like: (*var).ne... |
Oct 19, 2015 at 8:30pm
[2 replies] Last: Correct way to write this without using pointer member selection opera... (by MiiNiPaa)
|
by jb88
multiply all numbers within range using for loop
|
Hi! I'm trying to write a code that uses a for loop that allows a user to input a number then displays the product of 1 and the number the user entered e.g. if ... |
Oct 19, 2015 at 8:17pm
[4 replies] Last: Ok, I think i've figured it out! #include <iostream> using namespace... (by jb88)
|
by hlee0830
Segmentation fault is happening again and again.
|
I built a program of class datat structure and one of the assignment keep making segmentation fault again and again. Professor gave me a tip that I need to isol... |
Oct 19, 2015 at 7:22pm
[4 replies] Last: Look at that line. What does it do? How it works? (by MiiNiPaa)
|
Need help with a homework assignment (1,2) |
Hi everyone. I have a homework assignment that requires me to prompt the user to enter the name of a file, and then the output will tell you how many words are ... |
Oct 19, 2015 at 7:01pm
[27 replies] Last: this means you are in the wrong directory. You must find the directory... (by closed account 48T7M4Gy)
|
by AustinCH
Need help - various issues
|
New to the forums, registered because I am taking my first C++ class in college and am having lots of issues with this program i need to write. Issue #1 - The ... |
Oct 19, 2015 at 6:44pm
[5 replies] Last: Thanks everyone for all the help i really appreciate it. (by AustinCH)
|
by wizworks
Global Variable Use
|
Hi, I'm trying to reuse a global variable as a string. Basically, I use popen to call a system command, and take that command's output as the contents of a ch... |
Oct 19, 2015 at 6:00pm
[5 replies] Last: Thanks Peter. I managed to get past that error, and I've made progr... (by wizworks)
|
by foamrule
Need help counting brackets in my code
|
i need a program to read its own code and count the amount of open brackets inside it, and tell me the amount at the end. in class, i learned a code to make the... |
Oct 19, 2015 at 5:37pm
[2 replies] Last: v++ What value of v was before that? What it should be if this line ... (by MiiNiPaa)
|
by Antria4
How can i use if in vector code ?
|
at lines 25-27 how can i check for all the "psomi" if there is a smaller "basi " and after cout the number of the "psomi " that there is a smaller " basi " ... |
Oct 19, 2015 at 5:04pm
[2 replies] Last: To start off, why do you have duplicate cin >> a statements in your ... (by YFGHNG)
|
by Antria4
how can i check if one number is smaller than other table ?
|
I have to insert a number a that appears how many bread we have . after we want the diameter of the bread and the diameter for the base of the bread for each br... |
Oct 19, 2015 at 4:59pm
[10 replies] Last: i have to check for every bread if its diameter is smaller than the b... (by chicofeo)
|
by ZahoorKhan
What is Echoing the Input?
|
What is meant by echoing the input in C++? |
Oct 19, 2015 at 4:39pm
[5 replies] Last: https://en.wikipedia.org/wiki/Echo_(command) echo is an old unix/DO... (by cnoeval)
|
by Antria4
how to check if two number are equal = with my begin number
|
am trying but i don't know how to check if two number are equal = with my begin number :( and after i must know the position but i don't know why can anyone hel... |
Oct 19, 2015 at 4:02pm
[3 replies] Last: yes but i don't know how to check which numbers it will give me the c... (by Antria4)
|
by totalnooob
how to solve this linear funciton ?
|
int w=0, x=0, k=0 int fn(int w) { x+=3 if (w > 2) k += gn(w-1) return w + x } int gn(int x) { w+=2 if (x > 0) k += fn(x-1) ... |
Oct 19, 2015 at 3:51pm
[15 replies] Last: Thanks a lot kemort you are a beast. (by totalnooob)
|
by claivin
Function returns different results than isolated program
|
I'm working on an assignment where the program must find the Decimal and Binary equivalent of a single Hexadecimal digit. Hex -> Decimal works fine, however Hex... |
Oct 19, 2015 at 3:35pm
[2 replies] Last: oh wow. I can't believe i missed that. fixed it and it works fine no... (by claivin)
|
log game stats and clear consol |
Hello Everyone! I built a game that's does high low guessing what I'm trying to do now with it is that I want to log the users stats in a log file after the pro... |
Oct 19, 2015 at 3:03pm
[no replies]
|
by Wulfinite
How would I do this?
|
Using a for loop, write code that will compute the result of an int raised to the power of another int. For example, your for loop should use two variables, o... |
Oct 19, 2015 at 2:55pm
[2 replies] Last: Would this be the answer to this question? { int y = 2; for (int... (by Wulfinite)
|
by merm
Quick question. Related to verilog not C++
|
I just thought I would post this question here since it is similar notation to C++. We can use a multiplexer too in the code. 1. You must name the ALU mo... |
Oct 19, 2015 at 2:44pm
[no replies]
|
by ZahoorKhan
New start or continue?
|
Repeat or go forward? I got 56% marks in intermediate now I want to do software engineering so I selected a good university but their merit is high but there a... |
Oct 19, 2015 at 1:49pm
[1 reply] : Well? Let's say I am an employer and I have two candidates for a... (by pearlyman)
|
by turker
c++ plotting
|
Hello all, I have found similar topics on forum but not to answer my problem. I am working on numerical analysis and I often end up plotting x-y scatter c... |
Oct 19, 2015 at 12:53pm
[2 replies] Last: Not really. http://matplotlib.org/api/pyplot_summary.html you can see... (by turker)
|
by jpanther
reading from a binary file to a 2D array
|
Hi! My program manages the type of occupants within an office building. Office building has floors 0-4 and 8 offices per floor (A-H); for example, office 4A is ... |
Oct 19, 2015 at 11:58am
[4 replies] Last: for (int floor= 0; floor < 5; floor++) { for (int office= 0; office ... (by liuyang)
|
by Monty12
Fibonacci sequence
|
Hello everyone, I have an assignment that requires me to create a code which displays the sum of all even fibonacci numbers. For example, the user inputs 15,... |
Oct 19, 2015 at 11:51am
[6 replies] Last: Break the problem into chunks. First figure out how to compute the F... (by Arslan7041)
|