Beginners - July 2011 (Page 53)

Understanding Unions
 
I understand how to use a union, for the most part. From what I understand, a union is a shared memo...
[2 replies] Last: when you do a sizeof of a union it will be the size of the largest dat... (by binarybob350)
by atikot
problem with solution to exam question
 
hi, i have C exam next week, so i started solving questions from previous years exams and run into t...
[3 replies] Last: If you want to get fancy you could write it as void sortarray(char st... (by shacktar)
by Drue
Header File
 
I'm making a periodic table program. It's for school next year, and it makes it faster to search...
[3 replies] Last: Sorry didn't know. I normally use Rapidshare, but they recently made ... (by Drue)
Use of control structures
 
Hi guys, I'll just start off by saying I'm fairly new to C++ so apologies if I say anything stupi...
[1 reply] : Close. It doesn't work because string s don't have an x, angle, orbit... (by shacktar)
Converting a String to a Variable?
 
Hello. I'm wondering how I could convert a string that I got from GetWindowText into a variable so I...
[15 replies] Last: @Coderfail: In any .cpp where you're going to be using a stringstre... (by shacktar)
by Drue
Header File
 
I'm making a periodic table program. It's for school next year, and it makes it faster to search...
[7 replies] Last: @Moschops How would I use a function call and make it go to the spec... (by Drue)
by n8c
accessing elements of an array that is an array ellement
 
hello I am trying to pass an initial element of an array of pointers to a function, and that array o...
[2 replies] Last: sweet thanks hamsterman (by n8c)
Ofstream << fails writing to file
 
Hi all, I have following source which creates a file in the current directory, but << operator does...
[1 reply] : Firstly, the stat function returns 0 (not -1) if the file exists, so y... (by shacktar)
Permission denied error
 
Hello, something weird just started happening with dev c++. Whenever I compile a program, it doesn'...
[7 replies] Last: You closed your program. In Windows, you can't overwrite executables... (by king214)
Priority queue
 
Hi All, I am trying to implement priority queue in my program. I know, we can access any element f...
[1 reply] : You can't access any element and you can't erase any element. http://... (by hamsterman)
by Dunken
Access global static member
 
Please have a look at my code. I don't know where/how to initialize "myGlobal" such that I can chang...
[17 replies] Last: There's no need to do that. What you should do is mark the class as ... (by anonymous23323124)
time difference
 
Hello could anyone please tell me how to find out that the difference between the two times is le...
[5 replies] Last: Thanks toexii. Let me try this code (by vbaswant)
Trying to read random memoy causes error (1,2)
 
A long time ago, 5 years, I made a simple C++ program that would allow you to enter a number and it ...
[20 replies] Last: Oh ok, I get those lines now guys. Thanks for the code to,Watachiaieto... (by evilpickles)
reading input through .csv file (file wont open)
 
Hey guys, I'm relatively new to C++ in some aspects but I know this is simple. I'm writing a t...
[3 replies] Last: Any suggestions? I haven't been able to get this working still. (by shingleserv)
by Nuc
How to make a program disallow number strings
 
#include <stdio.h> #include <iostream> #include <conio.h> #include <Windows.h> #include <string...
[1 reply] : Look at all the characters in your string, you can determine whether o... (by toexii)
Converting a printf statement to cout
 
Hi ! I am trying to convert a printf statement code line to cout in a C++ code. It is: printf(" %...
[2 replies] Last: Thanks for the help ! And yes....i did write #include <iostream> and... (by ChosenTorture)
Starting C++ learning: integer initialized to -1 return 0
 
Hi everyone, I began to learn C++ from Stroustrup book, and I already have a little problem with on...
[3 replies] Last: Maybe the compiler you were using with Code::Blocks sets the int varia... (by mike246)
Graphics
 
Hi all, I want to end up as a game programmer, but I want to just know one thing for future refer...
[7 replies] Last: Thanks for the help all. I forgot to ask, is DirectX easier to use ... (by URSvAir)
by Bchaos
File I/O
 
Hey guys I'm pretty much a newbie, I recently started learning C++ and right now am at the very firs...
[3 replies] Last: Ok good to know it's possible, thanks! @ L B yeah I wont confuse myse... (by Bchaos)
Path Finding through a random arrangement
 
As I specified in my previous post, I was making the Dungeon Crawl Game that has been listed in the ...
[6 replies] Last: The code you posted doesn't seem to have any randomization in it. So... (by Nisheeth)
July 2011 Pages: 1... 51525354
  Archived months: [jun2011] [aug2011]

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