Beginners - June 2009 (Page 8)

Q. Append Filename with GMT Date
 
Thanks in advance for any help. My problem is this: I would like to start a new file with the filename having the date appended onto it, at 0000 hours GMT. I...
[1 reply] : Can you describe in Plain English what lines 14-17 are supposed to do? (by helios)
Tutorial needed for type memory conversion
 
Well...I am still kind of confused about those Unicode stuff or ASII...Is there any tutorial that could give me a crystal clear explanation about what all these...
[2 replies] Last: Wow. I'm amazed, Firedraco. How did you manage to make sense of that? (by helios)
GUI Basics
 
Hello, I'm in my second year of computer programming (just finished data structures and algorithms)...and I have yet to learn anything that has any sort of g...
[2 replies] Last: Sounds like computer science, to me. If that's the case, rest assured ... (by helios)
How to Change the Font Size
 
I am using Visual studio 6 I want to print a page through c++ I want some letter Bold and some of other sizes. So can anyone tell me that how can i chan...
[11 replies] Last: Well, technically it is possible , but only by cheating (by drawing d... (by Duthomhas)
by nanger
about pre-compile #include directive
 
main.cpp #include "one.h"; #include "two.h"; ... there are other files: one.h one.cpp two.h two.cpp if there is a variable defined in...
[3 replies] Last: If you try to compile it you should have linker errors. All the sourc... (by Bazzy)
String class (1,2)
 
I am in the middle of writing a program where I declare two objects to be of the string class. However, I am new to this section of C++ and I think I may have d...
[22 replies] Last: Nobody can know better than Stroustrup: http://www.research.att.com/~... (by Bazzy)
Displaying String Arrays
 
I have a weird problem with displaying a string array : string WordFile::loadWordList (string wordListString) { // Load the file, then put it into a...
[2 replies] Last: Jsmith, thanks for your help. By taking a count of the words (or num... (by AngelGithara23)
read from file
 
I have a problem while reading from a .txt file, I have a class named student and it has variables like name, age etc. and there are several lines in the text ...
[6 replies] Last: I got it! thank you , Grey Wolf and all. (by shynchan)
Search for New Compiler
 
Hi to all I am newbie here, I am searching for new compiler because my compiler is old version I cant find a free compiler in other website. Someone who help m...
[5 replies] Last: If you're looking for a compiler: I recommend g++ for *nix, and Min... (by QWERTYman)
passing and modifying arrays in widgets
 
Ok, so I have a program that stores some settings in an array. These settings get modified in a separate window, which I have constructed as a widget. The set...
[2 replies] Last: Yep, that's pretty much it. I'd prefer to allow the program to keep... (by jcooper)
math??
 
I'm using Microsoft Visual Studio 2008 and I need math like sqrt() and pow() but #included <math> is not working for me. *I'm using namespace std*
[14 replies] Last: I was targetting this particular overload: double pow( double bas... (by closed account z05DSL3A)
notepad++
 
im over seas right now and dont have anyway of getting programs off the internet. Is it possible to do the CPLUSPLUS tutorial in notepad++ if so can you please...
[1 reply] : You can write source code using only notepad, however you will need a ... (by rossipoo)
why doesn't this work?
 
I'm building a banking program for my lab class, i have a problem with part of the code, i made a program out of that code to study it especially, but i cant fi...
[2 replies] Last: your have no brackets around your else: else { for(int i=0;i<1... (by jloundy)
Question regarding memory allocation in classes
 
Hi all. I know that local variables are declared in the stack and static, global and variables allocated with new are allocated on the heap. But where are...
[2 replies] Last: I see. Thank you very much :) Have a nice day ! (by usercpp)
Array sort?
 
How can I sort an array in, for example, a-/de-scending order? I thought of a way, using nested loops and if statements, but it's very inefficient, and there...
[2 replies] Last: In the example, they provide numerous methods for sorting in ascending... (by kempofighter)
printf() trouble...
 
Hey, So I've got a question concerning printf(). In an attempt to gain a better understanding of OOP in Workbench 3.0, I found a snippet of code online and hav...
[5 replies] Last: That's awesome. I keep forgetting to switch over my methods of naming ... (by datta016)
bubble sort and pointers
 
#include <cstdlib> #include <iostream> using namespace std; void order(int* s1,int* s2) { if(*s1 > *s2) { int temp; ...
[3 replies] Last: Yes, I agree. Your problem is on line 54. I suggested that you compa... (by jsmith)
Functions and Function Calling
 
Ok im trying to write a mini program where a function called check is used to display 3 arguments as is in my code so far. Im trying to work out how to display ...
[6 replies] Last: Thanks alot for your help with this. I have finally worked it out. See... (by jayray23)
Lambda Functions?
 
Hi, I'm very very new to C++, and sometimes i like to go ahead of myself. I came apon an article (http://msdn.microsoft.com/en-us/library/dd293608(VS.100).aspx)...
[9 replies] Last: Lambda expressions support the notion of functional programming. C+... (by jsmith)
Prime cryptarithm
 
Trying to write a few programs to get practice, i decided to solve the following problem i found on http://www.inf.bme.hu/contests/tasks/usa93q.html : PR...
[2 replies] Last: At first glance it seems like this is a good candidate for recursion b... (by jsmith)
June 2009 Pages: 1... 678910... 18
  Archived months: [may2009] [jul2009]

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