Beginners - July 2014 (Page 41)

by Drak
Doubles trouble
 
As part of an arithmetic competency program, your students will be given randomly generated lists of...
[8 replies] Last: In your first snippet, your for loops are nested. You're going to out... (by AbstractionAnon)
Function Math
 
I have written this code for my class and the only two issues I have (big issues lol) are that the m...
[5 replies] Last: One general comment. You're using pass by reference a lot. While tha... (by AbstractionAnon)
Class named Time
 
Hi, so I'm making a class named time that takes a number that the user inputs, for ex 63, and tell t...
[4 replies] Last: Line 6: I still question why amount is a member of the class. Lin... (by AbstractionAnon)
Where to go next ?
 
Hi every one iam learning C++ and many concepts of Object Oriented Programming,but the information ...
[3 replies] Last: Lets take a look at some examples: GUI/Front-End Developer:This will ... (by Jakee)
Prime Numbers
 
Hi I'm new here. I'm trying to learn c++ on my own so I need all the help I can get! :) I'm having t...
[11 replies] Last: I think the key here was line 22 with the --N so I didn't have to ... (by mattswk)
Maybe any Easy question for you
 
First of all, I don'y know POINTERS and OTHER HIGH LEVEL PROGRAMMING cuz I study C++ in my school. ...
[4 replies] Last: [quote=ar2007]If you delete line 37 and line 43, the program works. Y... (by cire)
by mehak
constructors and destructors
 
can we call the constructors and destructors explicitly?
[1 reply] : Yes constructors can be call explicitly, and normally are. But destruc... (by jlb)
Class named light
 
...
[7 replies] Last: Ok so I ended up solving the problem. Thank you keskiverto for your he... (by tehnoobshire)
by LGOOZ1
Why does my code crash?
 
I'm kind of new in C++, only about a week in. I'm using VS10 for writing my exercises from a C++ boo...
[7 replies] Last: This is an exercise from a book, so naturally at this stage some less ... (by LGOOZ1)
Properly Define Constructor/Destructor
 
Can someone teach me the proper method to define a constructor/destructor? I am trying to bypass ...
[9 replies] Last: I am checking my classes for undefined virtual functions, I assume thi... (by dptru10)
working with array
 
hi all this is my program #include <iostream> #include <fstream> using namespace std; main() { ...
[4 replies] Last: my problem begins from a You can't assign anything to a . a is n... (by AbstractionAnon)
flowchart C++
 
Hey guys Can you guys help me in my assignment. My professor gave us assignment in flowchart about...
[18 replies] Last: Thank you all guys :) now i can finally sleep. the simulation is up t... (by xenovia12)
problem in loc ptr
 
Write your question here. #include<iostream> #include<conio.h> using namespace std; struct nod...
[2 replies] Last: Line 50: You're trying to assign a pointer (ptr) to an int (loc). Th... (by AbstractionAnon)
Expected primary expression before ';' token
 
Hi Everyone, I'm writing a calculator program and when I compile I get the following error code. ...
[5 replies] Last: Note the difference between = and ==. (by Peter87)
by h4ever
is there substitute for scanf/scanf_s?
 
Is there any substitute for command scanf to extract number from char array? I found one problem wit...
[3 replies] Last: Oh, thanks. The scanf does not do what I expected. This code works lik... (by h4ever)
reversing the order of letters of words
 
Plz help me in a concept of reversing order of letters of input word without using string or poin...
[19 replies] Last: thanks so much (by maher123)
Qt
 
The code is here .when i compile it says error writing to -:invalid argument what could be the pr...
[1 reply] : Also tell me where to find tutorials on Qt .... i do not want drag and... (by Salman0349)
by matlex
my huffman encoding
 
This my first try for huffman encoding! bitreader.h #ifndef BIT_H #define BIT_H #include <...
[2 replies] Last: thanks works great! (by bellerofonte)
by lays
problem about virtual method hiding method of baseclass
 
I write a base class with a method being virtual. But the problem occurs when I need a different si...
[4 replies] Last: thanks all! (by lays)
C program: Why am I not getting Segmentation Fault? Is it UB?
 
I am reading the book: Computer Systems, A Programmer's Perspective. I wrote the following code j...
[3 replies] Last: ok, thanks for the responses! (by abhishekm71)
July 2014 Pages: 1... 3940414243
  Archived months: [jun2014] [aug2014]

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