Beginners - June 2015 (Page 4)

by Filorn
ram address and pointers
 
I'm studying the C language on a guide with some exercises like this one on pointers. When i want to read the RAM address where is saved an int, why should i pu...
[2 replies] Last: The 0x is just a string literal, only the '%' is used by printf to esc... (by megatron 0)
How Do i make a button that "skips" and Ends the file?
 
hi there, i made myself a little calculator , BUT when you start it, it asks for your name and i want to do that when you type the button: "K" It will SKIP To t...
[2 replies] Last: To make a button you need to use a graphics library. In the meantime u... (by CodeWriter)
How to implement prices on a C++ program? (Code below)
 
So Im making an enrollment system program and I have filled in my code but I also need to implement prices on each subjects then totaling it, I need help on ho...
[1 reply] : Your student object manages 10 students. There's a lot going on there... (by kbw)
new pc
 
i transfered my code documents to my new PC, but how would i make them executable, like an a.out file on a mac, i got to the directory, now what?
[2 replies] Last: i know the apps are different, thanks for the links! (by DatOneLefty)
enumerated data type help
 
Hello, I am brand new to enumerated data type and this is my first effort at this type of programming. The program description is: to write a program to convert...
[2 replies] Last: Thank you for your help. (by jpanther)
Order of Precedence (Order of Operation)
 
Hi, can some explain to me why the default directional precedence in this line of code computes subtraction first, and then the addition? I thought by the orde...
[6 replies] Last: Okay, I got it. Thank you everyone for your response to my question, (by GreenTea1984)
subscript requires array or pointer type
 
I am getting this Error but I am not sure why. My function even returns a pointer to an array. Error 2 error C2109: subscript requires array or pointer type c:...
[4 replies] Last: You could replace molList.push_back(a); molList.push_back(c); m... (by giblit)
by Filorn
array in three dimensions
 
Is possible to make an array in three dimensions? If yes, how can i make one? I tried this but it doesn't go, the compiler says "expected ';' before ')' token" ...
[5 replies] Last: oh my god, i'm so stupid. thanks (by Filorn)
run the code there comes "-1.#IND",what is the matter??
 
here is code ,when n=500,"-1.#IND" appears. what is the problem??? #include<iostream> #include<fstream> #include<sstream> #include<string> #include<i...
[3 replies] Last: Actually, if you make that change that code becomes dead, since those ... (by helios)
expected a ')' "and" (1,2)
 
Hello everybody! Please help me. I just learning now, how to programming in c++. I have an error at the line 27. "expected a ')'. There is a red line under the...
[20 replies] Last: i never heard about it 'till now I've never seen it either, but the... (by shawnlau)
Loto game- two same numbers
 
I wrote this little code and sometimes it outputs two same numbers, I do not know why? Thanks and sorry if my english is not ok. #include <iostream> #inc...
[6 replies] Last: Yes. That is better. And it does not seems to have errors. (by MiiNiPaa)
by h4ever
Copy buffer
 
I am trying to analyze somebody's source code because I would like to remove bug which happens when I try to copy item in tree view. When I try to (copy and) pa...
[7 replies] Last: Wow, looks I have corrected it from crashing! However the bug with inc... (by h4ever)
by Filorn
product between two bidimensional arrays
 
How can i make a product between two bidimensional arrays? Obviously if i can...
[5 replies] Last: Thank you (by Filorn)
Am I doing it right?
 
I want to go back from the class to main. main.cpp #include <iostream> #include <string> #include <fstream> #include <limits> #include "fcreate.h" ...
[2 replies] Last: Thanks, Bdanielz. (by progleo)
by Filorn
[Error] invalid conversion from 'int' to 'void*' [-fpermissive]
 
Hi, i'm a beginner and i don't know what does this error mean. Please help me. The error is at the line 26, in the function free (i think it is a function) ...
[4 replies] Last: ok now it goes. Thank you very much!! (by Filorn)
Sum of rows and columns
 
Hi! How can i print the sum of every rows and every column? #include <iostream> #include <conio.h> using namespace std; const int ROWS=3; const int ...
[13 replies] Last: Can you explain why i need to set the Min and Max to the value of the... (by TheIdeasMan)
Parsing string and remove special character
 
Hello, I would need to perform string manipulation. The string is a barcode result from a scanner. The string is '42017347ý92748999916521553111111428' (...
[1 reply] : If you cannot auto pos = barcode.find( 'ý' ); Then I would use is... (by keskiverto)
Issue about random numbers
 
I'm making a game and i have 20 events.I want to them to occur 5 timses ( 5 events ) and what they would all be random.For events I'm using if ( if random numbe...
[17 replies] Last: @JLBorges Thanks you too! (by Siaubakas)
help pls
 
can someone help me how to breakdown? sample Enter the number : 7689 P1000 = 7 P500 = 1 P200 = 0 P100 = 1 P50 = 1 P20 = 1 P10 = 1 P5 = 0 P1 = ...
[6 replies] Last: does DEV-C++ 5.11 is working? i tried it a lot but the error is #inclu... (by janineee29)
JAVA PROGRAMMING QUESTION
 
Fisrtly, i would like to apologize for posting here,the reason being i coudnt login to java forum (always says admin server down).Need help ASAP on question bel...
[1 reply] : I'm sorry are you expecting me to read all this and give you the code ... (by TheSLY)
June 2015 Pages: 123456... 32
  Archived months: [may2015] [jul2015]

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