Beginners - July 2014 (Page 3)

HTTP GET request
 
I have a function that performs HTTP GET request. It works, BUTT.... I need the url like this: www.mywebsite.com/myscript.php?data=blabla But if I do that the r...
[2 replies] Last: nevermind, I solved it even before you answered, damn I hate myself (by user123)
testing how to pass values/references/pointers
 
Getting error c2664 passbypointer cannot convert parameter 1 from 'int' to 'int *' Please explain what this means. And how to fix it thank you. #inc...
[3 replies] Last: Remember that a pointer doesn't point to any literals exactly, it poin... (by Sausage)
Output Window
 
Hi guys, I am really new at C++. I am starting with SAMS teach yourself C++ in 21 days. I have installed the MS Visual Studio Express IDE 2013. When I write ...
[2 replies] Last: Thanks for the reply. was an interesting thread and helped greatly... (by AzmoSlayer)
by ninibt
Grid movement
 
This is the "game" that i am learning to create. Dungeon Crawl Requires: variables, data types, and numerical operators basic input/output logic (if statem...
[3 replies] Last: sorry for the late reply, i would try like you wrote then i shall repl... (by ninibt)
How to load information from a saved struct line by line
 
Hello ! Using some snippets from different coders and programs I have made the program below. My only issue is, is that when you enter your info, it then put...
[3 replies] Last: WOW, thank you so much!! I really appreciate it! (by NookLines)
Gameboy programming
 
hi i am trying to make a program in c for the nintendo gameboy that prints out all its character codes as they look diffrent to normal ones (for more info htt...
[4 replies] Last: Ah... okay... in that case, then casting is appropriate: printf("%d ... (by Disch)
This is not homework. I am just trying to understand my error. :(
 
With this, I produce no errors. #include <iostream> using namespace std; class exampleClass { public: void x() { cout << "This was practi...
[3 replies] Last: Don't worry, you're allowed to ask about homework here, we have to adm... (by Richard 4234)
by Blewyn
n00b Problems with Printf and Rounding
 
I'm a n00b C++ programmer so please bear with me. I have squared a number in a float variable and printed it out, but it only prints it as a rounded-up integ...
[5 replies] Last: Make sure your including the right things. #include <iostream> or re... (by Richard 4234)
Why does this happen?
 
Hey! I've been reading through Accelerated C++, and one of the exercises in the beginning has you try out this code, and asks you to input a name with a space: ...
[3 replies] Last: but it's great to know exactly why cin on its own the >> operator d... (by Disch)
help me with const and type aliases
 
example : typedef int *integer; // integer is a type alias for int int ival = 10; const integer p = &ival; // my book explain me in a way that i ...
[2 replies] Last: const integer == const int * which is a pointer to a constant inte... (by giblit)
by Yeech
Direction to documentation for instruction
 
Hello. Inside a for loop I need to read in five numbers from five columns in the current row. Can someone please direct me to documentation to do this usin...
[1 reply] : so your txt file is formatted like 22 33 44 55 888 1 983 89 5 36 ? ... (by Ganado)
by bbbeee
Reference parameters and files...
 
Hi - beginner w/ C++ here. My professor gave us an assignment that I can't quite make heads or tails of: Now you will edit the file project5.cpp. You are...
[1 reply] : About interact with file you can read here, http://www.cplusplus.com/d... (by lsk)
by CDavis
using rand with char
 
I'm trying to use an array of char to randomly generate but running into errors #define TRUE 1 #define FALSE 0 typedef struct{ int weight; char name ; i...
[4 replies] Last: catName = name[rand() % 6]; >> strcpy(catName,name[rand() % 6]); ... (by lsk)
by yepMe
why can't we overload assignment '=' operator as a friend function
 
I just came through this concept,from thinking in c++ and from google what I understood is like copy constructor , if we do not create any =operator assignment ...
[3 replies] Last: The default copy constructor only does a shallow copy - this can be ba... (by wildblue)
Help required with Dev C++ compiler
 
I can't find the toolbar on the bottom where it shows the complier errors and compiling time etc. Here's the image: http://i62.tinypic.com/6huyck.png ( Cli...
[4 replies] Last: if you want the original -- surely no-one wants that version which i... (by Chervil)
Array vs List
 
Should I use an array or list?(I don't have specific code) When should I use array, when should I use list? What are the advantages and disadvantages for ...
[4 replies] Last: Thank you very much! (by Richard 4234)
help
 
where i can dl dev c++?
[6 replies] Last: [quote=zxcyves]where i can dl dev c++? The official version is Blood... (by Catfish5)
use something other than .txt to present report
 
Greetings Programmers: I have the task of developing a program that gathers users input (text and integers), makes calculations, and collates reports. The p...
[5 replies] Last: HTML would work great for a read-only situation. If you want users to... (by Lowest0ne)
Challenge Project (C++/Access/Excel/XML)
 
Okay Gods Of C++ , This is purely for academic purpose. Thought it would be fun to work on this with experts :D :D What I want to do is - 1) Create an Ac...
[9 replies] Last: --Closing due to inactivity-- (by newbieme)
by yepMe
New and delete giving build error
 
Hi all, I have written a code which will create object on runtime using new and will destroy it using delete , I want to show that while doing so it calls the ...
[5 replies] Last: Executes correctly for me using Visual Studio after correcting the two... (by AbstractionAnon)
July 2014 Pages: 12345... 43
  Archived months: [jun2014] [aug2014]

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