Beginners - June 2012 (Page 34)

Using C++ for language learning programs
 
Hi there, I am pretty much a newbie with very little idea about anything so I'd like to set out my scenario in the hopes that someone may point me in the right ...
[1 reply] : C++ by itself has no GUI support. But, there are many nice libraries a... (by ResidentBiscuit)
C programming Basic 1
 
(1). #include<stdio.h> int main() { printf("The single quote \' is this "); } (2). #include<stdio.h> int main() { printf("The single quote ' is this "); } ...
[13 replies] Last: I am learning C . So it will come into the concepts . I have to learn ... (by deendayal)
inline in C++
 
this code does not works extern "C" { int printf(const char*,...); int scanf(const char*,...); int kbhit(void); void clrscr(void); } inline int add(i...
[2 replies] Last: [quote=JAI SINGH] "this code works" ...then, there's no problem, is ... (by closed account zb0S216C)
help with a massive
 
Hi! I need to write a program that creates 3 4*4 massives and fills them with random numbers (from 1 to 100). Also I need to figure out which of these 3 massiv...
[16 replies] Last: bump (by starter)
by abbzi
What is this way called?
 
Hello there ! so I have a little question, I cannot really differ between the calling by value and calling by reference, in some question I was asked to write...
[8 replies] Last: Now let's pass int that equals 0xff08ac10. What now? Hold on, I'm d... (by Moschops)
Creating a character sequence, assigning numerical values to letters, and summing up those number values
 
Hi there :) I'm trying to input a character sequence (a bunch of letters i.e. california is awesome), assign each letter a specific number (a = 4, c = 44 etc...
[17 replies] Last: Shouldn't be much if any more confusing then using a vector. Here is h... (by naraku9333)
Writing character \ in output
 
Hello, I am trying to write the character \ using command "cout", here is an example: cout << " Selection & N($\tau_{h}=0$) & N($\tau_{h}=1$) & N($\tau_{h}...
[2 replies] Last: THank you, is working perfectly now (by pablosp1988)
Function Help
 
Hey C++ geniuses, my teacher docked me some point because my "FindErrors" was too complex. He said to "Break it down and simplify it." I've looked over this pro...
[2 replies] Last: Sorry if this is far too late, and also that i cant help an aweful lit... (by TheBeardedQuack)
C++ Beginner's Tutorial: Sorting Vectors
 
This is a recent C++ tutorial that I did that came out very well. The full tutorial is 30 minutes of High Definition video. You can view the whole tutorial her...
[18 replies] Last: Ah this is good to know. Like you said, it doesn't really make a huge ... (by ResidentBiscuit)
C programming Basic
 
#include <iostream> using namespace std; int main () { cout << 5+"My name is Dwe"; return 0; } Please explain it with giving output thanks
[7 replies] Last: If anyone's in UK and on skype fairly often i'd be happy to discuss pr... (by TheBeardedQuack)
memory allocation
 
If I have the follow class definition: class CMessage { private: char* pmessage; //pointer to object text string public: //function to display a message ...
[3 replies] Last: Thanks for the info. I wasn't looking for an excuse to not write a des... (by korshyadoo)
Deleting from vector
 
I have a vector as a private member variable of a class: std::vector<const char*> strings; Trying to delete them during the destructor: { std::vector<con...
[6 replies] Last: This breaks at the delete too: #include <string.h> int main(void) {... (by Lowest0ne)
by leeffm
C++ "circular inclusion"
 
Hi , im trying to recreate a program for fun/learning but i dont know how to fix this. Form1: http://codepad.org/5jwQ2eaz Add_Item(Form2): http://codepad.org/G...
[2 replies] Last: i need to make the data i type in texbox1 on Add_Item.h to go to listB... (by leeffm)
Returning From One Function To Main
 
Hi All, I've done the bulk of my code and I'm required to do one more thing and then it's complete. Within my functions, I want to be able to send the use...
[11 replies] Last: Hey, I respect Moschops quite a bit (I hand out the link to his articl... (by ResidentBiscuit)
by abbzi
Hey there ! Came back with a new issue today =P
 
Hello, so as I'm preparing for my programming final which is after tomorrow I'll be on this website for the next 48 hours =D so here I am with a new code that I...
[4 replies] Last: iHutch105 : THANK YOU! I haven't thought of doing a loop for it ! tri... (by abbzi)
functions
 
I have been using the openCV library for some code I have been working on. When I create functions I prefer to use void functions and I use them whenever pos...
[3 replies] Last: You can either use a pointer to pointer or a reference to pointer. For... (by vlad from moscow)
Branches of execution?
 
I've worked my way through the CPlusPlus tutorial and am now looking to expand outward a bit. My current goal is to have multiple branches of execution (e.g. m...
[1 reply] : Hyperthreading is an Intel technology for handling multiple threads. I... (by Moschops)
by abbzi
What is wrong exactly in this program?
 
Hello, here I am today with another problem facing me with this question I've found, Lol I guess I better stop solving questions that are not given to me in the...
[9 replies] Last: No apologies =) Thanks ! (by abbzi)
Writing and reading from file?
 
I am using my last week's assignment to read and write my reversed string to a file but I have no idea how to go about it, any ideas? I tried looking into fstre...
[2 replies] Last: Line 30: What is 'output'? One mistake here is that you named your i... (by Lowest0ne)
double& array[] valid?
 
Dear all, I am now trying to write a void function which would give an array of 360 elements as output for other parts of the program. I wrote something like...
[10 replies] Last: If your compiler allocates a 400KB block for a vector<int>(1), file a... (by Lowest0ne)
June 2012 Pages: 1... 3233343536... 51
  Archived months: [may2012] [jul2012]

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