Beginners - March 2011 (Page 44)

Looking for a mentor!
 
Mentorship: "Mentorship refers to a personal developmental relationship in which a more experienced or more knowledgeable person helps a less experienced or le...
[16 replies] Last: We have a cplusplus IRC channel where multiple people can try and answ... (by closed account S6k9GNh0)
dualSort arrays - integer and string
 
Hi ~ Before posting my code, can someone tell me if it is possible to do a dual sort on an array of chars and an array of int, double or float? Would you hav...
[13 replies] Last: You are not supposed to change anything in your dualSort. Check this ... (by m4ster r0shi)
pointer question
 
Hi,I have a question related to pointer topic.I have a class omega as given below and 2 objects of this class ,in main I print their adresses,I expect the diffe...
[2 replies] Last: So ,since it uses "word" it may not put my objects in memory just one... (by oldnewbie)
Store bool in .txt
 
Whats the proper format to store a bool value in a txt file for future loading? i tried using 0 and 1 and the 0 works but the 1 doesn't seem to return as tru...
[no replies]
Beginning C++
 
Hey. I am a beginner at C++ programming and took some video tutorials but I'm just a newbie at it. I know just simple things at it. So, I got recomendations...
[4 replies] Last: I also think that I should directly go to C++. Just as Bazzy said.. T... (by TheKnight)
Using Unicode
 
I'm trying to read, store, and output Unicode characters. Specifically █, ▓, ▒, and ░. I've googled some but haven't gotten anything to work. I am progr...
[2 replies] Last: Is there a specific reason to why you opened this topic twice? (by hanst99)
Sorting Characters and Integers in Arrays
 
I've been trying to create a program that creates palindromes with characters and integers. My original idea was to create an array of characters, count the num...
[1 reply] : characters are integers. (by hamsterman)
How to read files in the Zip/Jar file? using (either C or C++)
 
Hi friends.. i am tasked to read one file or all files in particular zip / jar file using C or C++.. so, i can choose which file in the Zip / Jar that need ...
[7 replies] Last: [quote=Disch]I made a .zip file reader/writer ... I should remake some... (by closed account z05DSL3A)
Text Is Fine On One Box, On Another It's Not
 
On one of my computers, the cout statement's plain text output is fine, but on a second computer the text contains weird looking characters at the beginning...
[no replies]
Sudoku solver problem.
 
I posted this on the general c++ board but it hasn't gotten any replies so I have also posted it here. :) Ok when I try and run it it seg faults and I can't se...
[3 replies] Last: Ok I figured out the seg fault but now it gets stuck in an endless loo... (by Neb1000)
error: expected primary-expression before 'float'
 
Hey, I found this site because I wanted to start C++. I read half the tutorials and made a program with the info that I have. The part i screwed up on are the ...
[8 replies] Last: Thank you soooooo much for helping me make me little fail calculator a... (by loosmoose)
c++ code
 
why we use "this" reserved word?why we make a member function and data static?
[3 replies] Last: Well I'm not going to do it for you, if that's what you're asking. If ... (by Zhuge)
a question on "argc >3 ? argv[i]:NULL"
 
There is code snippet Int main(int argc, char *argv[ ]) { FILE *f; f = fopen(argv , "r"); If (grep(argv , f , argc >3 ? argv :NULL)>0) { /* do...
[1 reply] : It's the conditional operator. http://cplusplus.com/doc/tutorial/oper... (by Zhuge)
by cagen
About sscanf() and sscanf_s()
 
Hi, I am a C++ begginer.I got some questions here. I write something like this in VC 2010: #include <stdlib.h> #include <string> #include <iostream> usi...
[4 replies] Last: Thank you! It seems a huge task to learn these stuff :-D (by cagen)
Calling derived function in base class
 
Hello, currently I am trying to do this: class A { doFunction(void(*f)()){ f(); } } class B : public A { int b; void func() { b = 1; cout << b << e...
[8 replies] Last: Thank you! (by eviltwinkie)
Constructing neural net layers - problem defining floating point variable
 
Hi folks, I have been attempting to port dated C++ code (from a book) for a backpropagation neural network over to MS VS 2010 express, intended to be used in my...
[3 replies] Last: For anyone googling their way here with a similar issue regarding the ... (by Whitian)
Problem: Check a collision between 2 objects in graphics mode!
 
I have these files: //ball.h #ifndef BALL_H #define BALL_H class ball { int x, y, vx, vy, r; public: ball(int a, int b, int s, int dx, int dy) ...
[2 replies] Last: The 'bar(x- wx/2, y-hy/2, x+wx/2, y+hy/2)' this is not the class bar, ... (by DingPhonh)
cin.ignore problem
 
I am trying to write a simple program for a class. I have it all complete except for trying to verify user input. I want input to only be an integer between 1...
[2 replies] Last: I got it to work finally. It was the \n mistake. Correct line is cin.i... (by fram234)
Touble with hello world
 
I was told to make my own thread and here is my problem: I tried making hello world after reading a few tutorials. I did this: <include> #iostream using st...
[15 replies] Last: hanst99, bboy212, leave him alone. This is not helping the atmosphere ... (by Albatross)
what is the advantage or disadvantage between these function?
 
#ifndef TIMECOUNT_H #define TIMECOUNT_H #include<ctime> #include<iostream> #include<string> #include<tr1/functional> void timeCount(std::tr1::funct...
[8 replies] Last: Thanks, after your tutorial, I did it std::tr1::function<void()> n... (by stereoMatching)
March 2011 Pages: 1... 4243444546... 52
  Archived months: [feb2011] [apr2011]

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