Beginners (Page 121)

by Trowen
Struct vs. Classes
 
I'm a beginner learning C++ and I'm wondering what the deference is between structs and classes. I d...
[1 reply] : > but they seem to do the same thing. They are the same thing. Except... (by JLBorges)
by GRDfzx
Winsock problem.
 
How I can restore a connection when the socet was closed with closesocket?
[no replies]
Help opening a file
 
I am writing a program that takes a weblog, sorts the lines numerically, collects the unique IP addr...
[1 reply] : Inconsistent filename here: sortedWeblog.open(" SoredWeblog.txt "); B... (by Chervil)
How does the following scan method scan a folder?
 
So for a final C++ project im working on right now for college, we need to create a program that wil...
[no replies]
Confused about Polymorphism
 
#include <iostream> #include "Mother.h" #include "Daughter.h" using namespace s...
[3 replies] Last: > notice that the Ninja/Monster versions of Attack() are called even t... (by ne555)
Need help plz
 
Im lost with this problem I don't even know where to began. there any way anyone could or would be w...
[no replies]
Search function
 
I want to show the user all available information when typing a seach phrase, but I dont know how to...
[no replies]
by Devra
help with getch()
 
Hi, I'm working on a c++ program. It's a sudoku solver and till now I got it. #include<stdio.h> ...
[12 replies] Last: Well... Stream operations instead of printf()/scanf(), return bool ins... (by MiiNiPaa)
by ulxlx
cin on a multiword string only returns one word
 
I'm trying to create a basic note saving program, but whenever I try to get an input it only takes t...
[4 replies] Last: you shall use getline(cin, note); rather than cin >> note; (by closed account 4GEURXSz)
Beginner DirectX question
 
Im learning DirectX and was wondering if I get the header files for SDK 11 will they still be compat...
[5 replies] Last: Im telling i made the mistake of learning fixed pipeline DO NOT LEARN ... (by supperpiccle)
by SmOgER
'cout' not working in reading function ??
 
Ok, here's reading function: #include <iostream> #include <fstream> using namespace std; void s...
[13 replies] Last: Aghhh... Thanks a million! (by SmOgER)
C++/cli multithreading
 
Hey i'm kind of new to programming in managed c++ and am having trouble creating threads and startin...
[no replies]
Boost library and instream from internet
 
Hi! The function read_xml(filename, ptree) I want it to take the XML from an internet address lik...
[no replies]
return a set container
 
Hi! Just wanted to know if there is an easy and non memory heavy way of returning a set container ...
[5 replies] Last: Yes it does, thanks a lot. Now I learnt something very useful :D Than... (by Jonas Wingren)
0/1 tiles problem. I need the mathematical soln for this.
 
Problem 1: 0/1 Tiles To help Lavanya learn all about binary numbers and binary sequences, her fathe...
[1 reply] : This is my take on it. N = 1 -> Output = 1 N = 2 -> Output = ... (by cspctec)
by vin
cin.readsome and MinGW
 
In visual c++ express 2008 cin.readsome reads and stores the number of characters available and retu...
[1 reply] : http://en.cppreference.com/w/cpp/io/basic_istream/readsome The behavi... (by MiiNiPaa)
cin.get(); in struct function
 
Please look at the following code. Can anyone tell me what the purpose of the cin.get(); (I bolde...
[1 reply] : Probably it is here to skip newline symbol which can be left in input ... (by MiiNiPaa)
I dont know why this function is not working. Could you tell me how to get it to work.
 
its a simple tempertature conversion code. I know that it is for the most part incomplete for the s...
[3 replies] Last: And you shouldn't use doubles in for loops. Floating point values are... (by TheIdeasMan)
Game Dev concept.
 
I feel stupid, but I need help with one simple concept. I've though of a few ways to do it, but I fe...
[10 replies] Last: I've changed it so that the enemy attack power gets loaded in the cons... (by Austin J)
Sorting via pointers
 
In our assignment, we have to make a sort function using pointers! However, I am having a strange er...
[7 replies] Last: Note that the x, y, and temp on lines 6, 7, 8 are unused and can be de... (by Zhuge)
Pages: 1... 119120121122123... 134
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.