Beginners - August 2014 (Page 12)

Guessing Number in sequence
 
Hello everyone, I must reduce the number of iterations it takes the computer to guess my number....
[2 replies] Last: What I would do is ask if the number is less than or higher than. Then... (by giblit)
Linked list. Accessing data in element inside node.
 
1) In my class Car. I have this ID Model Driver 1 Car John If im using the default print()...
[3 replies] Last: See http://www.cplusplus.com/reference/forward_list/forward_list/front... (by keskiverto)
by shekhu
Friend Class
 
Is it possible to access the private or public variables of a class within another class using fri...
[2 replies] Last: Thanks a lot !!! (by shekhu)
by LA101
Point Sorting with Vectors
 
Hey guys, I'm trying to write a program which reads a sequence of pairs of coordinates from a tex...
[10 replies] Last: Hi @keskiverto, So I've tweaked the first loop's algorithm with the ... (by LA101)
Two dimensional arrays
 
Hello all, can someone please help me get the function disparray to compile. //Simpe code on p...
[7 replies] Last: I really recommend you think about using std::vector, it'll be much cl... (by jlb)
by Nison
Pointers and char
 
I want to know how to get the address of a character from a char array. If i do this.. char m...
[2 replies] Last: Thank you! Now i get it, i think. Although i don't understand exactly ... (by Nison)
by zooto
Allegro 5 and Visual Studio 2013
 
Hallo, i'm at the very beginning with c++ programming. I'm working with Visual Studio 2013 Expre...
[1 reply] : Did you build allegro with VS2013? (by naraku9333)
by ephekt
Overloaded + operator error
 
Hello all it has been a long time since I have asked a question on here, but I am having trouble wit...
[10 replies] Last: It fails meaning I do not get a new object with the length of s1 + s... (by SuperStrange)
by h4ever
Linker error
 
Hi, can you help me to remove this error? I created new project A configured dependencies as so: ope...
[2 replies] Last: Thanks for your answer. When I have started new Console project, the V... (by h4ever)
Can any one tell me how will working this program?
 
Write your question here. #include<iostream.h> #include<conio.h> class distance { int fe...
[1 reply] : @r 4 raja // Distances.cpp : main project file. #include<iostream>... (by whitenite1)
by Nezar
What does this syntax mean ?
 
Hi, i found this piece of code in folly's source, and i want to know what it means. my best guess wa...
[3 replies] Last: The DEF_TYPE(bool, "boolean", dynamic::BOOL); thus means: template<... (by keskiverto)
Logic error
 
Hi, I'm having a problem with my code, no error, it's just the logic that is wrong program asks fo...
[2 replies] Last: Thank you, it works fine now. (by JustAGuyHere)
by ptyn
Help to fix a code.
 
Hello im a beginner in C++ trying to make a simple ASCII game but i cant get this work, i want to di...
[4 replies] Last: Thanks again works (by ptyn)
by nasser
power function
 
i want to write a code that calculate 1^1+2^2+3^3....10^10 but it gives a weird answer #i...
[3 replies] Last: Oh that's due to overflow errors. int or long isn't guaranteed to be e... (by Ganado)
by cpm14
asm in c++
 
hi can anybody help me with this program #include "iostream" using namespace std; int main() {...
[4 replies] Last: no it's not for online compiler because i get the exact error too. (by cpm14)
by bonho
Is there a convinient way to format a double into a string?
 
Basically I would like to have the format as "0.###" which means it shows up to 3 decimals if the...
[2 replies] Last: Use a stringstream, then carry out additional manipulation of the resu... (by Chervil)
Isn't it a mistake?
 
Hi, I've seen this problem already on other forums, but I still haven't found concrete answer or it'...
[5 replies] Last: Thank you guys, I was trapped with this exercise, but no I can go on r... (by SuperStrange)
by bonho
funny syntax
 
I found an unintended ambiguity when I override the following operators in the class class MyC...
[1 reply] : When x and y are respectively an integer and a pointer, x is equivale... (by helios)
by cpm14
size of int
 
i think that in c++ every int takes 2 Bytes of the ram. but in this program output shows 4 Bytes i...
[3 replies] Last: thank you i got it (by cpm14)
Create Folder Help
 
Hello, I was wondering how I would make a code that could make a folder then add it to a specific d...
[no replies]
August 2014 Pages: 1... 1011121314... 40
  Archived months: [jul2014] [sep2014]

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