Beginners - February 2013 (Page 29)

Do you learn to code quality code?
 
I was just wondering if you learn to write better and more simple code as you develop more advanced?...
[1 reply] : depends on how often you have to use it, if anyone gives you advice, i... (by Darkmaster)
by high
Rabin's information dispersal algorithm
 
#include "include.h" void __cdecl _tmain(int argc, TCHAR *argv ) { DWORD ini=GetTickCount(); ...
[1 reply] : This is a console program, and needs command line arguments. You can ... (by Lowest0ne)
by Sergi0
Should I continue learning C++
 
I already know HTML and CSS an I am learning JavaScript and C++ and was thinking of learning PHP and...
[1 reply] : You should keep learning C++ IMO. It's a GREAT tool if you look into s... (by Minimacfox)
by Sandz
Help with !
 
if (room != 1,2,3) { cout << "Invalid room type choice" << endl; } Is there any mistake...
[3 replies] Last: It worked! Thank you so much! :) (by Sandz)
VS2012 lib error
 
Hi every one, Part of a network project is to build a lib which I did using VS2010 and the program ...
[no replies]
Reducing numbers to 0
 
I am trying to count down a number.. using loops and functions.. but I seem to be having issues.. ...
[2 replies] Last: First off, these do the same thing. x--; x = x - 1; You had you're ... (by Lynx876)
by progga
Maze
 
How can you do some walls for the maze? Like here in my code? can you put some walls so i can make ...
[8 replies] Last: Some tips for the future = maybe paste more than just a single line of... (by Chervil)
IDE: Library & Header Confusion
 
Hello everyone. I'm a BASIC programmer, coming from the VB6 and VB.Net environments. Although I have...
[8 replies] Last: Arr, just remove the parenthesis at the end: http://www.open-std.org/J... (by MiiNiPaa)
Difference between a[] and char* p
 
Hello, I would like to know what's going on under the hood in this situation: int _tmain(in...
[1 reply] : When appears in a function definition or prototype, it's a placehold... (by kbw)
Trying to shorting a bit of code
 
Hi, I'm quite new at this stuff but what I'm trying to do is shorting this as I'm going to have to d...
[2 replies] Last: I don't understand the code, and how it relates to the picking-up and ... (by Chervil)
&
 
What does mean this symbol (i * i) & 2 (This symbol-------> & )
[2 replies] Last: Thanks (by Medet Kozhabaev)
by genap
If-Else statements and Executive Brackets
 
I'm a newb, trying to use if-else statements and brackets. I keep getting this error: sstream.cpp:45...
[5 replies] Last: if (pin == "1111") std::cout << "correct" << std::endl; else ... (by MiiNiPaa)
Array, Zero a row
 
/* CIS 251 Lab 3 Two dimensional array code */ #include <cstdlib> #include <iost...
[2 replies] Last: Thank you! I was thinking of it too simplified as we would see it rat... (by sh129951)
Can someone explain this to me?
 
How would you turn a value for example 100 using modulus to determine the dollar amount, penny amoun...
[3 replies] Last: modulas is not the answer There is an fmod() in <cmath> (by MiiNiPaa)
by js404
ridiculous error messages that shouldn't be happening
 
Here's my code: #include <iostream> using namespace std; int main(void); { cout << "I like p...
[1 reply] : you're not supposed to have a semicolon in front of the calling main f... (by Konochi)
by gladi
Time and Date class error.
 
I have class that I have to modify. the problem in the output. I don't why it did not pass the month...
[3 replies] Last: You're quite welcome. (by palauan73)
Basic Interest Program with wrong math??
 
Hi. I have only been programming for a couple of weeks now, and I am running into some snags with my...
[7 replies] Last: WOW! I figured it out. Whew! I figured out I needed to used fixed & ... (by mizztrixi333)
Reversing sentence order using char arrays and pointers(College Assignment)
 
Noob here. Ok so what I'm suppose to do is take short sentences from the user and output the reverse...
[11 replies] Last: You aren't really doing what the assignment requires. Here's a straig... (by cire)
How does this for loop work?
 
Hi I am new to programming and in my class we wrote this code, but I am not sure how it did what it ...
[1 reply] : for the first for loop. for example let us enter 2 for num. for(int i... (by gladi)
by kohlh
accessing directories
 
Hi I am working on boiler plate code to access a directory and push_back the file names found in tha...
[no replies]
February 2013 Pages: 1... 2728293031... 67
  Archived months: [jan2013] [mar2013]

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