class Base
{
public:
void setNums(float, float);
float a;
float b;
};
should be
class Base
{
Type: Posts; User: devil@work
class Base
{
public:
void setNums(float, float);
float a;
float b;
};
should be
class Base
{
read beej guide to network programming small and easy to understand. google will return in in the first place
thats the point you are writhe but if they are written for a diffrent os you have no choice it like putting a mustang engine in to a aircraft and say both are engines i dont have to know how diffrent...
if you are under linux console try this ./executablename >dumpfile and you will have all the output send to dumpfile
did you try to use another compiler and see what happens maybe you compiler add something to optimize the code?
do you mean declearing a word like a int ? if so it is not possible cause int and other number types has fixed sizes but word dont have fixed sizes so use a string you cant define one.
std::cout<<"\nDo you want to quit? (Y)es or (N)o?";
std::cin >> temp;
if(temp == 'n' || temp == 'N')
done = false;
else if(temp == 'y' || temp == 'Y')
done = true;
else
{
std::cout <<...
it doesnt need to be const but since it doesnt change anything and just copy something to something it is better to make it const to avoid any error that we make.
gcc 3.2
first of all get rid of all the define lines they are not needed.
you dont need if (choice==TWELVE) statement it is going to terminate anyway.then no need for braces in case statements
cool
looking for a book on database programming not SQL i mean creating a simple database from the beginning design features and other things
i do not use windows thats why i am not into windows programming i use linux i got a search engine project that i have been working in php guess i am going to port it to c++ some socket programming...
i read the beej guide to network programming but it is c based are there any c++ lib for network connections?
i am not into windows programming i havent used it for years and not planing to use it.
i just finished my first book on c++ learn c++ in 21 day what do you suggest to improve my skill and please do not write write programs.what did you do?
i never wrote a big project but i am starting now :) but the problem is how do you wrote your projects i want to have a main menu and sub menus all do diffrent jobs but if i make a one big file and a...
in linux?
how can i get the tim covered in between 2 or more statements?
i just had the same question you have to add a \n to the end search my treads same question answered
is there another function that i can use with iostream
i post this before posting the one with get
i have to get a url from the terminal and place it in the sql query below but how?
mysql_query(conn,"SELECT site_id FROM sites WHERE site_url like '$url'");
because of the " " i cant place...
thx every one \n solved my problem
i cant get response from server program just stalls.
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <netdb.h>
#include...