Beginners - April 2013 (Page 48)

by adesh
call by reference
Please have a look at the below program #include <stdio.h> void str_cpy (char* target, char* source) { printf("%d\n",*target); //prints 104 print...
Apr 14, 2013 at 10:23am
[2 replies] Last: that was some simple logic .... foolish of me , thanks ! (by adesh)
by Phazon
-- operator
I was going through a neural net tutorial and I got to a specific line: error += pow(OutputLayer.NeuronValues -- OutputLayer.DesiredValues , 2); I ...
Apr 14, 2013 at 10:10am
[1 reply] : I think that it is a typo and the code will not be compiled.:) (by vlad from moscow)
by buefox
I got a problem of double free or corruption (fasttop)
As title, I got a problem which I can't figure out why #include <cstdio> class v{ public: int* data; v(){data = new int ;} ~v(){delete data;} }; i...
Apr 14, 2013 at 8:38am
[2 replies] Last: Oh! I seeee~ Thanks for your help! (by buefox)
Can u give me some coding
Hai.. i'm a student. i'm a beginner in programming.. Can u give me some example coding of class, overloading, inherit in object oriented. .
Apr 14, 2013 at 8:17am
[2 replies] Last: Try http://www.learncpp.com/ Or Google. Might help. (by iluvthee07)
by Aquos
From Zero Exp
Hi, Im new to this programming things, best described as i am zero information about this c++ things, so i would ask the forumers, what i need to learn first so...
Apr 14, 2013 at 8:15am
[5 replies] Last: Read some books on C++. There's a lot of authors who have written exc... (by iluvthee07)
user input for a sum check. any suggestions?
I need help writing this program magic square checker Magic squares are a square grid of consecutive numbers with the property that every row, column an...
Apr 14, 2013 at 8:05am
[6 replies] Last: You are doing all the sums manually... which is why I suggested a 2D a... (by Catfish3)
How to Merge two vectors
can someone help me out here, say i have two vectors, one equals [1,2,3] and the other equals [9,8,7],what i am trying to do is make it so that the program prin...
Apr 14, 2013 at 6:22am
[1 reply] : > one equals [1,2,3] and the other equals [9,8,7], > what i am trying... (by JLBorges)
Bugs
I have some trouble with my program. I'm want to get this at the end: (123.4568 + 567.8970i) + (112.3457 + 6654.1235i) = (235.8025 + 7222.0205i) (123.4568...
Apr 14, 2013 at 6:19am
[6 replies] Last: @rjryan94 So which part don't you understand? I always try to explain... (by TheIdeasMan)
Pancake Glutton exercise --- 1 issue
If your not familiar with it: Write a program that asks the user to enter the number of pancakes eaten for breakfast by 10 different people (Person 1, Person...
Apr 14, 2013 at 6:18am
[2 replies] Last: Ah was confused by the way the array uses 0-9 as the 10 people. Thank ... (by Soulgin)
Meaning of Statements int x;{/*something*/}
This code is part of a semaphore code, but what does line 2 until the end mean? Are they treating this part as an structure? I assume that int sid; has no pu...
Apr 14, 2013 at 6:17am
[6 replies] Last: Thank you, I should have mentiioned that I am using C. (by knowNothing)
by pencru
A bunch of questions. Let's take it one at a time?
I'm trying to create a game (well, it's a project for school, really) where the player selects on character. The chosen character gets moved to the top of the l...
Apr 14, 2013 at 5:55am
[2 replies] Last: Alright. I switched it to 'int main()'. How do I use a while loop inst... (by pencru)
Looking for Help please with resources
Hi All! Well first let me say that I am new to the programming world other than dealing with Javascript, Actionscript, HTML, CSS and PHP for web development...
Apr 14, 2013 at 5:26am
[2 replies] Last: I would recommend picking up Stephen Prata's 'C++ Primer Plus' (6th ed... (by AngryHopeCat)
Reading contents of a txt file, sorting it into an array
I'm trying to load the contents of a text file into an array of employees. Contents of text file are as follows: 10 alice 4/23/1972 123-45-6789 support assista...
Apr 14, 2013 at 4:13am
[4 replies] Last: The >> operator returns the istream (cin, ifstream) that used it. It ... (by Lowest0ne)
program won't identify class
I am having trouble with my program. For some reason, I cannot set my class up, resulting in an error C2236. class ComplexTest { public: ComplexTest(); void...
Apr 14, 2013 at 4:06am
[13 replies] Last: Well, it's tomorrow here :) The problem is obviously inside main, rig... (by Lowest0ne)
Push Back() and Pop Back() on a link list
I've the concept of this down and by appearances it looks like my code should work(at least the debugger shows that it should work when I run it). However when ...
Apr 14, 2013 at 3:02am
[4 replies] Last: I probably have this written completely wrong but I'm working on a pop... (by natekelsey)
Code error
Hello, I have been having a problem coding up a program for security, just to test. this error has been coming up: main.cpp could not convert `(&checkfile)->std...
Apr 14, 2013 at 3:00am
[6 replies] Last: Thanks! it works now. (by PSlover14)
Question answered... thank you all.
I'm trying to run a for loop on the outside of my function... I can't post the code because its for my semester project which is due on Monday, and I know the c...
Apr 14, 2013 at 2:17am
[5 replies] Last: No problem - sometimes taking a break is the best way to make progress... (by Chervil)
Making a grid graph?
I have a question. How would I go about making a graph that's based on a grid type format? I need to make this into a weighted graph. I'm aware how to make wei...
Apr 14, 2013 at 2:14am
[1 reply] : I could be completely off here... probably because I'm tunneled in my ... (by iHeartSTEM)
Function Templates w/ Files
Could someone please help me find the bug here? I'm trying to read a bunch of doubles into an array and print it using a template function. Ideally, I want this...
Apr 14, 2013 at 1:27am
[2 replies] Last: That fixed it. Thanks a lot! Figured I was missing something obvious. ... (by sirjames2004)
Extremely confused any help would be amazing...
So hey, I am really confused about a couple of things but I will start off about the simple things first. So, I've always wanted to be a programmer and I hav...
Apr 14, 2013 at 12:29am
[2 replies] Last: Thanks soooo much for your help :D (by kevindav1)
April 2013 Pages: 1... 4647484950... 83
  Archived months: [mar2013] [may2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.