Beginners - October 2009 (Page 3)

Question dealing with Array print commands
 
Need another small advice about following: Could someone explain me what will happen if we have a...
[1 reply] : The printf instruction will print out the dirty data which are after t... (by screw)
Need an opinion about C creation array problem
 
Hi to all, Could someone advise me about how to create dynamic an Array in C, (nxm) from strings an...
[1 reply] : Hi! http://www.cplusplus.com/reference/clibrary/cstdlib/malloc/ ... (by screw)
unicode
 
how to make unicode in window C++ what code is how work if you know about this please explanme ...
[2 replies] Last: Also here's a good background on the subject: http://www.joelonsoft... (by Lodger)
If statement not working
 
I revised a simple program to add new elements to see if I could get the OR logical operator, and if...
[2 replies] Last: hey, that worked perfectly, thanks for the help. Actually made things ... (by pressence)
by agnea
Ternary Operator
 
Hi guys! I have this code, but I don't understand why it works... #include <iostream> usin...
[2 replies] Last: Thanks! (by agnea)
invalid conversion from 'int*' to 'int'
 
Assignment given in my intro c++ class. I keep getting the error (invalid conversion from 'int*' ...
[2 replies] Last: oh my.. don't know how i missed that. okay now its running and calcula... (by mattzorx)
by minix
Static Code Analysis
 
Hi everybody, Have anybody use Frama-c (static code analysis)? Thanks, Andy
[no replies]
anyway to make this while statment shorter?
 
learning C at the momment using sams teach yourself C. finished week one and I tried writing a progr...
[11 replies] Last: Some compilers make long long twice as long as long, others just throw... (by helios)
c++ command similar to setw?
 
I have the code ostream& operator<<(ostream& ofile, const Date& d) { if(d.day==0 || d.m...
[1 reply] : You could probably put all the data into a stringstream first, then us... (by Zhuge)
Deleting extraneus input
 
If I am prompting the user for two chars, in order, for different parts of the code, and the user in...
[3 replies] Last: After you read in a, use cin.ignore() to ignore the rest of the input.... (by Zhuge)
Clear screen without SYSTEM("cls")
 
Because im working on a game that i was actually going to share on the net. Its a console based game...
[10 replies] Last: You could look into ncurses/pdcurses (windows version I think). They ... (by chrisname)
by molim1
Segmentation Fault
 
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #define BUFFER ...
[2 replies] Last: I'm here to learn, not the best professor I have Is parta not point... (by molim1)
Set on declare (Multi dimensional Arrays)
 
I can not find it anywhere. I want it to do something like int array = {1,5,9,1,6,9 } and stu...
[4 replies] Last: Thankyou so much. I hope i can help others someway sometime :). I know... (by Coaster3000)
confused with array sorting
 
Hi everyone, I am new here. I have a question becuase this program has been bugging me really bad. W...
[6 replies] Last: Thank you so much totally forgot about declaring the temp as a string.... (by deadbolt742)
by bigdog
Accessing elements in Array of char pointers (char**)
 
I am trying to learn in more depth how an array of char pointers is accessed. I have the following ...
[8 replies] Last: Thanks man!!! I will check the articles... I have been playing wit... (by bigdog)
An 'illegal else without matching if'
 
I'm writing a program that uses if loops and if logical operators to evaluate whether a number is od...
[9 replies] Last: I tried % , I removed it early on in the debugging stage because I tho... (by JohnOPhelan)
by AdRock
splitting a string
 
I have the following code and need to be able to split the string using punctuation. The followin...
[4 replies] Last: The debugger is critical in this case. This is the kind of problem th... (by kempofighter)
Problems overloading the addition(+) operator
 
Pls i'v problems overloading the addition(+) & subtraction(-) operators as i did the multiplication ...
[1 reply] : Post the code please. Post the declaration and defintion of your clas... (by kempofighter)
infinite loop?
 
okay I'm trying to do the little test i found on this site to get better, but Ive hit a strange snag...
[9 replies] Last: See if this helps to explain the problem any better. The entire I/O s... (by kempofighter)
by newb00
SDL LoadBMP from seperate cpp?
 
I am looking for a way to load a Bitmap from a CPP that is separate from the main CPP. I have sea...
[4 replies] Last: http://www.libsdl.org/faq.php?action=listentries&category=2#19 #in... (by Duthomhas)
October 2009 Pages: 12345... 25
  Archived months: [sep2009] [nov2009]

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