Beginners - November 2010 (Page 30)

Printing a number backwards using recursion
 
I have an assignment for my C++ class that has me completely stumped. Before I go any further, I am not looking for any code or solutions, just hints and tips t...
[6 replies] Last: Thanks for the help, guys, but I am still completely clueless with thi... (by kultrva)
parenthetic symbols
 
I am going over these examples because i want to understand algorithms better but there are no solutions for this question.Can anybody show me what this algorit...
[8 replies] Last: It is a standard homework question, and was well-stated. /me oh... (by Duthomhas)
Question on making C++ program that is not in dos prompt
 
Hi guys, so im new to C++ programming and i am learning how to make programs in dos prompt format. I was wonder how to make a program that is a normal window...
[5 replies] Last: http://library.gnome.org/devel/gtkmm-tutorial/2.21/sec-helloworld.html... (by hamsterman)
Need Clarification
 
I want to make sure I understand some C++ syntax. I've read definitions and looked at many examples but still don't completely understand what is going on. ...
[3 replies] Last: I don't see anything there that would cause a crash. ptr_vector delet... (by kempofighter)
Stumped by SFML behaviour
 
Hello. I'm having a weird problem while learning SFML. I drew an image on a window on certain coordinates using sf::shape. Later, I changed the coordinates to s...
[10 replies] Last: By the way, Somebody here (I think it was albatross) told me that you... (by Disch)
Using loops/going back to beginning
 
Hey everyone. I'm quite new to programming and need some help. I'm not going to my exact code to prevent getting in trouble. I'm trying to make a game-type p...
[4 replies] Last: You did not show the entire program so I cannot determine the answers ... (by kempofighter)
Minimum hardware and software requirements to run an exe file created by c++.
 
Hi, I am working on a beginner c++ project, in which i need to include the minimum hardware and software requirements section. But i don't know much about it. C...
[6 replies] Last: so yeah just put something like 256mb ram or something.. i dont know, ... (by kaduuk)
Question about pointers.
 
I have a real beginner question about pointers. I have this example in my notes (not exactly this but I simplefied it for the question). #include <io...
[1 reply] : You should get a segmentation error and your program should crash on t... (by Bazzy)
Undefined References to My Own Functions?
 
Hi there, Code that compiled and linked just fine yesterday is no longer linking. I have been making some changes to the general structure of my source, but...
[2 replies] Last: Ah, I think I got it. One of the changes I made was inlining a lot ... (by segismundo)
how fast can you type abc...z program? (1,2,3)
 
can anyone please give me a code for a program which allows you to type a to z and then tells us the total amount of time taken for typing a to z
[48 replies] Last: I'm convinced QWERTY sucks. Best times forward -> 0:04.64 backward... (by ne555)
by emdim
Can't figure out error
 
This is my code #include <iostream> #include <stdlib.h> #include <math.h> #define n 10 //pososto apo to arxiko emvado #define m 10 //xrimata gia kathe ...
[5 replies] Last: Tell him that you have to use new/delete for complex types because the... (by Disch)
Template query
 
Here's something interesting which i ran into recently. Look at the code below. template <class T> class A{ public: A(const T&...
[9 replies] Last: +1 jsmith and helios (by Disch)
by firix
Vec4 as a vector of four floats?
 
Hi friends, Define a type Vec4 as a vector of four floats.saying it now says the following. class Vec4{ vector<float> f1; vector<float> f2; vector<f...
[6 replies] Last: class floatt{ float f ; public: floatt(float f1, float f2, flo... (by firix)
ptr_vector
 
It seems I have a use for ptr_vectors. I've followed the documentation here - http://www.codeproject.com/KB/stl/ptr_vecto.aspx . When I include ptr_vector.h...
[4 replies] Last: yes, ptr_vector<> came from the boost.ptr_container library. (by jsmith)
question about 2 functions
 
i'm working on an assignment to make a vector emulator and i'm having problem solving 2 of my functions the last 2 or ( insert and printing ) .. so i was hopin...
[1 reply] : Please use code tags. deleteEntry is doing a pop_back, I suggest you ... (by ne555)
double type work like int
 
hello all , i have double type lets say it called "a" , when i do some calculation like a=10/4; and printout the variable its print the number 2 and not 2....
[3 replies] Last: ok i understand it , i do cast to double and then divide it than... (by afransis)
return a substring of a cstring;
 
I'm trying to write a function that looks for a character in an array of char, then returns the rest of the array. I'm getting errors, and I can't figure out...
[6 replies] Last: maybe int i; for(i = 0; inhere != thischar && inhere[i+1] != '\0'; i... (by hamsterman)
by boson
Creating a setup file using Inno DLL?
 
Right I have a cosole app that uses FLTK and Multi-threaded Debug DLL My question is, if I use a default wizard in Inno, will it look up dll files needed for ...
[8 replies] Last: Alright mate, As I said earlier, I appreciete your time and advice... (by boson)
Time Difference
 
Hi guys! I have a question: In one of my programmes I want to return the time it's taken the programme to make a calculation. Right now I have something l...
[1 reply] : see http://www.cplusplus.com/reference/clibrary/ctime/clock/ (by hamsterman)
by alexbg
ready
 
ewqe
[12 replies] Last: Please help me !!!!!! (by alexbg)
November 2010 Pages: 1... 2829303132... 42
  Archived months: [oct2010] [dec2010]

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