Beginners - February 2012 (Page 30)

by adesh
Could not understand for loop
 
Hi , The below program finds square root of a given number double sqrroot(double val) { double ...
[6 replies] Last: Thanks , i feel now i have understood it after all the trouble with th... (by adesh)
overloaded operators - compare strings
 
as part of an assignment, i have to add an overloaded operator as a member function to a base class ...
[14 replies] Last: excellent, working now, thanks a lot (by smallmos)
Text-Based Adventure-Need Help
 
#include <cstdlib> #include <iostream> #include <string> using namespace std; string choi...
[10 replies] Last: yeah i dont know how to use classes (yet) so thats probably why I like... (by bacia)
why do i get warning in declaration of new
 
pn= new (nothrow) string ; pn =" Aluminum Gold Engraved "; pn ="Aluminum Silver Engraved"; ...
[2 replies] Last: i choose to start it in pn so the end user will not be confuse with t... (by yhangel)
by Taylrl
How should I approach this problem? r.e. How to use opendir()/scandir()
 
Hi, I am currently writing a program but am beginning to see that I could have problems in the fu...
[6 replies] Last: Wait this code is only printing on line 31 at the moment. I'll just ch... (by Taylrl)
by CMinus
A little Encryption / Decryption Program !
 
Hello all , Today I tried to make a little Encryption / Decryption program that its en/decryption de...
[6 replies] Last: Thanks dude it works now , although I didn't understand the use of cin... (by CMinus)
by jaff
ceil function question
 
Hi again everyone, ceil(2.3) gives 3 as I expect. ceil(3/2) gives 1 but I expected it to give 2 ...
[6 replies] Last: never assume... know... ;) (by Jikax)
Basic spellchecker not working
 
I'm trying to create a program to read words for a file(word1.txt) and check against a dictionary (w...
[3 replies] Last: when you start checking a new word from word1.txt you need to start re... (by Jikax)
understandig the text of a problem
 
I just started using Project Euler and I'm at the second problem. The trouble is I'm not that good a...
[3 replies] Last: In simple: -Find all Fibonacci numbers <= 4.000.000 (four million) -... (by Gaminic)
Defining a variable in different way and reading tokens
 
I was writing a simple scripting system. Actually, I was just simplifying my C++ code for easier dev...
[5 replies] Last: Just for funsies... #include <iostream> #include <Windows.h> st... (by cire)
Connecting to/working with SQL server
 
So, I have been getting into SQL and SQL Server 2008 because I feel like it's a good skillset. Anywa...
[1 reply] : I suggest you look into using MySQL++; It's been around long enough t... (by Texan40)
[HELP] C++ random access file
 
I have some problems when i need to delete one record after I enter the number, the problem is 1) ...
[2 replies] Last: ya. you right the problem is fixed after i add "ios::in" in line 71 so... (by alfredhin)
by mrshah
Run Time Code Degeneration
 
Hi. I've ran into a problem of my code "degenerating" during execution. Its an array based problem...
[8 replies] Last: Thank you cire, I just compiled and its working beautifully. Brilliant... (by mrshah)
by SithV
Test a string of digits for characters
 
Hello Im having difficulties with my assignment...,i have to do the following: A valid phone num...
[3 replies] Last: can you place some code? i do not understand what you mean... (by Jikax)
want to quit program at any prompt with q
 
I have only been learning c++ for the last 3 weeks. Here is my code for a calculator, it works ok, b...
[1 reply] : http://www.cplusplus.com/articles/z13hAqkS/ (by cire)
How to: Open 'My Documents' in my program
 
I'm having a hard time trying to figure out how to open up the 'My Documents', 'My Pictures', etc fo...
[1 reply] : However you're starting iexplore ; do the same thing with explorer C... (by Moschops)
fmod
 
Does anybody know how to use fmod to do 3d sound as I am new to coding and do not know where to star...
[no replies]
Win32 API - Tab Controls
 
Can someone link me WORKING tutorial for tab control or teach me how to do it? I've tried several tu...
[4 replies] Last: @bacia I hope that was just joke... @texan40 thanks, I'll try it late... (by mekkatorqu)
pong frustations
 
okay here is my problem i been trying to get my collsion agaist my paddles to work and i simply can'...
[2 replies] Last: if(ballx > 1000 || bally > 450) if(ballx < 20 || bally < 5) if (b... (by cire)
Beginner questions about File I/O
 
So I have a few questions, just trying to get my head around this file business: - Is there a mo...
[3 replies] Last: There really is no need for the array int Data at all. All you need ... (by Galik)
February 2012 Pages: 1... 2829303132... 64
  Archived months: [jan2012] [mar2012]

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