Beginners - February 2013 (Page 34)

How is this code?
 
Well I just finished a small program that views a link as many times as you want, each time using a different proxy from a file proxies.txt. My next step is to ...
[no replies]
helppp
 
How do I make a program that solves for the roots of a Quadratic Equation. It should be able to accept decimal and able to print even the imaginary root? I real...
[2 replies] Last: Thanks Mr Stewbond.. IT surely will be a great help... (by redlichan)
by altanh
Help with C++ classes
 
Ok, this might be a bit hard to understand, but this is what I want to do: Lets say we have class A and class B: class A { public: A(); ~A(); } c...
[4 replies] Last: I see... Thank you sir! I fully understand now! (by altanh)
by Thomja
Download file from URL (URL as a string)
 
Hello First of all I just wanna say that the tutorial on this site to learn the C++ basics is amazing. I have been using it for days now and I love it! So I t...
[3 replies] Last: I agree with Fransje... That bit in the middle looks quite clearly lik... (by TheBeardedQuack)
how remove null character from string
 
Hi All, I couldn't find an specific answer to my problem. I have a char array which I converted to a string so I could find a substring. If the substring ma...
[6 replies] Last: Perfect, thanks ResidentBiscuit. Now I got into another issue related ... (by aramosvizcarra)
by ihato
Error 0xC0000005 with a simple code wtf?
 
class ImOk{ public: int x,y; }; class Dude{ public: ImOk* t; Dude(ImOk &T){ cout<<"Ok"; *t = T; cout<<"No...
[3 replies] Last: Alright I understand now. just changed to t=&T; and it's fine now. t... (by ihato)
Passing an Array to a function by Reference
 
Hi, I'm writing a small project and since I'm new to pointers I've been having troubles passing an array to a function by reference. Say: int Array_data ={...
[5 replies] Last: @Matri X I never knew C++ does not allow an array to be passed as ar... (by vlad from moscow)
Extracting Integer From a txt File
 
Look at this code. this programme take a string from user store it into a text file then extract digits from that text file from a line and store it into anoth...
[2 replies] Last: #include <string> #include <iostream> #include <sstream> #include <ve... (by JLBorges)
Help Help Help with C++
 
This is my calculator code // calc2.cpp : Defines the entry point for the console application. // //============================================== // C++ P...
[2 replies] Last: makining those changes #include <cstdlib> #include <cstdio> using na... (by mzadriann)
by Majidh
how do i do this
 
how do i make the program not crash when the user inputs an alphabet. the program has to ask to re-enter if the user inputs alphabet. and "pause" when a number...
[4 replies] Last: was my solutions helpful ? (by syedfahadjalali)
Arrays vs Vectors
 
I have just recently learned arrays. After arrays i learned about vectors , they seem so similar. Should i use vectors or arrays?
[1 reply] : You should use std::vector instead of C arrays because: 1) they k... (by Catfish3)
I need help with C++
 
I'm building a converter (fahrenheit -> celsius or Celsius -> fahrenhhiet) that will make the user type 3 integer (starting temperature, an ending temperature, ...
[2 replies] Last: thanks for the reply BTW. sorry i dont really get it...... could u gi... (by raydyko)
Class Constructor not working
 
Hey there, I have a class called Mixed, which handles Mixed numbers. I've also got overloaded operators to handle arithmetic between mixed numbers, which work f...
[5 replies] Last: I meant the operators, like operator+, but I also thought you had an c... (by Peter87)
fstream . Sorting data types from a txt file
 
can anyone give me the idea how can i sort out the data types from a text file. let suppose i have a txt file contain ----txt file--------- 256 horse -56...
[5 replies] Last: please idea (by syedfahadjalali)
How to connect to wifi using c++?
 
I want to create an app for android where you need to connect through a network when you buy a specific item, but cant find an answer through the net, so wonder...
[2 replies] Last: any help here. (by CountVlad)
Program ends at the end of the constructor
 
Hello everyone, I've read many posts of crashing constructors but all of them crashes somewhere in the middle of it, mine crashes after finishing the construc...
[7 replies] Last: THANK YOU GUYS! I followed Disch instructions and now it runs as it sh... (by Alpacaman)
Linked List with Classes Segmentation Fault
 
Hi guys, This is my first time posting here, so please bear with me if I don't really know how to properly ask a question here. Basically, I need to make ...
[2 replies] Last: Thanks! That helped me find the problem! (by andrewseaman)
Enter stringstream into shellexecute?
 
Hey I have been trying to make a small program that runs a bit of CMD. The only problem was that the file location has quotation marks in it. I am unsure how to...
[1 reply] : Well I fixed the issue haha just took some more searching around. (by TheSuperPhreak)
Linked List search and management troubles
 
Hello there, I was hoping you all could help me with some issues I'm having. It is a program that creates a linked list of Books and their prices. It's a very s...
[no replies]
by kpb17
Caesar Cipher Class
 
So my course just started teaching classes and our first assignment was to do a ceaser cipher. The goal is to take a int value to shift a given input (This is w...
[5 replies] Last: My professor has been using and having us make things in CLR console a... (by kpb17)
February 2013 Pages: 1... 3233343536... 67
  Archived months: [jan2013] [mar2013]

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