Programming tutorials online .NET, Java, C++, Visual Basic, and More
 

Home
.NET Tutorials
General Programming Tutorials
Community/Forums
Site Extras

 

C/C++ Forum

Open forum for posting questions or comments regarding C/C++.

Previous Page Next Page Collapse All | Post Message
MESSAGE PREVIEW (Replies) POSTED BY WHEN
IT Outsourcing Summit in Ukraine
The “IT Ukraine” Association (ITUA) is the leading professional organization of Ukrainian software developing companies. ITUA unites the leading software exporters who do business in North American and Western European markets. The ITUA together with its Marketing Agency the “IT Market Group”, have decided to hold the Central & Eastern European Outsourcing Summit in Kiev on September 12 - 14, 2007, in order to:
Emphasize the importance of Ukraine, Russia, Belarus, and the Eastern European region in general, as one of the key world centers of software development;
Promote the positive international image of Central & Eastern Europe as a high-tech IT cluster;
Analyze the situation in the local outsourcing and domestic markets;
Attract foreign investment into the Ukrainian and regional IT industry and contribute to local venture capital development;
Discuss current trends in:

- business process outsourcing ( BPO ) and outsourcing markets;
- Developing product lines and offshore product models;
- HR market shortage of IT specialists;
Study the relationship between state and private enterprise, as well as state regulatory policies;
Favor further growth of the Ukrainian and regional IT companies export potential, by organizing B2B meetings between themselves and their counterparts from the West and the rest of the world.

During this Summit, every participant will have a unique opportunity for business negotiations and networking, both in the Summit venue and at informal meetings. We do sincerely hope to see you as one of our guests.

Until our meeting in September 2007, in Kiev!

http://www.cee-outsourcing.com (0)
Narciss 7/17/2007 11:06:00 AM
hello avid programmers.Can anyoen suggest a good pogram to write in C or C++ , atleast pose a sitution to write n arange f 150-200 lines. Please i do need your help. (0) alivetoday 7/6/2007 12:20:00 PM
ellow guys...can any post me a program code of an array just an example.... (0) ColdFusioN 7/5/2007 2:40:00 AM
Royalty Free PDF Chart Creator Dynamic Link Library (DLL)

If you want to create bar charts, pie charts, line charts or area charts as PDFs royalty free then this Dynamic Link Library (DLL) is for you.

The PDF Chart Creator DLL gives you full control over all aspects of the chart including page size, colors, axes, titles, labels, positioning, legends etc. All you have to do is supply the data and optionally change the default settings and the chart automatically adapts to fit the page based on your settings.

Because the charts are produced as PDF they are scalable and resolution independent so they can be viewed and zoomed without any "blockyness" or "jaggies" appearing. They also look great printed even at very high printer resolutions.

You may be surprised at how small the file size of each PDF Chart Creator document is (typically around 3Kb) – this is because the PDF Chart Creator DLL has been carefully written so that it optimizes the output to produce extremely small PDF file sizes.

Why not take a look at http://www.UtilityWarrior.com/PDF-Chart-Creator-Examples.htm which has an example of every chart type and style currently available.

Now supports the automatic calculation and display of various numerical analyses including "line of best fit" (which uses linear regression) and "moving average".

For full details and to download the DLL please visit http://www.UtilityWarrior.com/PDF-Chart-Creator-Dynamic-Link-Library.htm - this is free to download and try and no details are required in order to access the ZIP file.

Best regards,
The Utility Warrior Team (0)
UtilityWarrior 6/24/2007 5:32:00 AM
Program to print all 4 digit perfect squares.Such that each digit in the perfect sqare is a even number.


please send me the code for this program in C language (0)
scteja 6/20/2007 1:33:00 AM
im trying to print a word in reverse by using recursion...ive written the following code but it only prints the last letter and not the whole word in reverse..whats wrong in this code???

another thing..when i use strlen(word) instead of the code ive written to calculate the length, it gives this error:
error C2664: 'strlen' : cannot convert parameter 1 from 'class std::basic_string,class std::allocator >' to 'const cha
r *'

why??



#include
#include
#include
using namespace std;
void printBack(string word, int size, int first);
int main()
{
string word;
cout cin>>word;
int first=0;
for(int count=0; word[count]!='\0'; count++)
{
}
int size=count-1;
printBack(word, size, first);

getch();
return 0;
}
void printBack(string word, int size, int first)
{
if(size==first)
{
cout }
else
{
printBack(word, size, first+1);
}
} (0)
c_h_ 6/11/2007 4:40:00 AM
there r six to eight type
of strng functions
and arrays r dam easy

it depends on which book u use 4 referance (0)
Manthan 6/9/2007 2:17:00 PM
#include
#include
#include//string header is needed for strcpy
int main()

{
struct {
char origin[50];
char destination[50];
char flight[10];
char aircraft[3];
char days_of[7];
char departure[4];
char arrival[4];
char begin_date[10];
char end_date[10];
}
flight_details[1679];

FILE *fp;
fp=fopen("iaschedule-07(edit).csv","r");
char buf[50];
int i;
while( fgets(buf,sizeof(buf),fp) != '\0')
{
strcpy(flight_details[i].origin, strtok(NULL,","));
strcpy(flight_details[i].destination, strtok(NULL,","));
strcpy(flight_details[i].flight, strtok(NULL,","));
strcpy(flight_details[i].aircraft, strtok(NULL,","));
strcpy(flight_details[i].days_of, strtok(NULL,","));
strcpy(flight_details[i].departure, strtok(NULL,","));
strcpy(flight_details[i].arrival, strtok(NULL,","));
strcpy(flight_details[i].begin_date, strtok(NULL,","));
strcpy(flight_details[i].end_date, strtok(NULL,","));
++i;
}

printf("print details\n");

for(int j=0; j {
printf("Origin : %s", flight_details[j].origin);
printf(", Destination : %s\n",flight_details[j].destination);
}

fclose(fp);//this closes the file
return 0;
}

Hi richie2021
I hope i have solved your problem. Anyways tell me what you need it for and give me the question to this problem Please.

Thanx in advance

(0)
Telnet 6/8/2007 10:16:00 AM
#include
#include
int main()
{
struct {
char origin[50];
char destination[50];
char flight[10];
char aircraft[3];
char days_of[7];
char departure[4];
char arrival[4];
char begin_date[10];
char end_date[10];
}flight_details[1679];
FILE *fp;
fp=fopen("iaschedule-07(edit).csv","r");
char buf[50];
int i;
while( fgets(buf,sizeof(buf),fp) != NULL)
{
strcpy(flight_details[i].origin, strtok(NULL,","));
strcpy(flight_details[i].destination, strtok(NULL,","));
strcpy(flight_details[i].flight, strtok(NULL,","));
strcpy(flight_details[i].aircraft, strtok(NULL,","));
strcpy(flight_details[i].days_of, strtok(NULL,","));
strcpy(flight_details[i].departure, strtok(NULL,","));
strcpy(flight_details[i].arrival, strtok(NULL,","));
strcpy(flight_details[i].begin_date, strtok(NULL,","));
strcpy(flight_details[i].end_date, strtok(NULL,","));
++i;
}
printf("print details\n");
for (int j=0; j {
printf("Origin : %s", flight_details[j].origin);
printf(", Destination : %s\n",flight_details[j].destination);
}
return 0;
]

I am new to C, I get a list of warnings and errors saying. one of the warnings is, incompatible implicit declaration of built-in function strcpy.

could someone please help me clean this up I think i have alt of syntax problems.
(1)
richie2021 6/8/2007 8:44:00 AM
Hello. I don´t know how detect MIDI I/O port (normally 330h).
I need it a lot. Thanks, Peter.

(0)
Peter Beda 5/29/2007 2:50:00 AM
Im looking for a tutorial on setting up a telnet server in c++, If anyone could help it would be much appreciated (0) slick2175 5/27/2007 3:41:00 PM
Hello everyone,
Please can anyone help me?
I don't know how to create GUI applications, only school type
command line programs.
I would really like to know how to create GUI applications.

I would start by learning under visual studio 2005 toolkit
I guess I will be able to go on by myself from there.

thnx in advanced.
(0)
gizmokaka 5/20/2007 12:47:00 PM
to understand pointer, u have to keep trying until u say

'oh i get it'

(0)
justins 5/17/2007 12:59:00 AM
The keyword 'const' makes the function constant. Only member function of class can be constant. Constantness of member function means that value for any variable of the program cannot be changed in this function. (0) PreetMehrok 5/11/2007 6:32:00 AM
Hi everyone,

I have a question of "const".

A declaration:

char* dump() const;

What does the "const" mean?

Thanks (1)
vietcave 5/10/2007 9:49:00 PM
im just new in c programming.I hope you could help me with these following problem.

1. write a program that reads positive integers until end-of-file and then prints the largest and smallest values.

2. write a program that reads integers until end-of-file and then prints the largest and the second largest values?

3. write a program that reads integers until end-of-file and then prints YES if the numbers do not decrease and NO otherwise.(the numbers do not decrease if for every pair n1, n2 in succession we have n1
4. write a program that reads integers until end-of-file and then prints the maximum sum of consecutive values.


pls help me i need it before thursday...please..thank you very much... (0)
rash20 5/8/2007 3:47:00 AM
hi i am having a little priblem here. my average salary is = 0 and its not supposed to be. can someone please help me? something must be wrong with my function structure becasue when i build/debug everythig works fine except the avg salary. thanks!

#include
#include
#include
#include
using namespace std;
void Heading(void) ;
void print_end (double avg_sal);
float sal_count (float total_sal, float salary, float counter =0);
double calc_sal (float, float, double& );
void main (void)
{
//*****Declare Variables*****//
ifstream fin;
ofstream fout;
int hours=0 ;
float pay_rate=0, salary=0, total_sal=0, counter=0;
double tax = 0, avg_sal;
string dataf_name, first_name, last_name, name, dataf_out;
Heading();
sal_count (total_sal, salary, counter =0);
calc_sal (counter, total_sal, avg_sal=0);
print_end (avg_sal);


//**********Input***********//
cout getline(cin,dataf_name);
cout getline(cin,dataf_out);
//cin>>dataf_out;
fin.open (dataf_name.c_str());
if (fin.fail())
{
cout }
else
{
fout.open("out.txt");
cout cout fout fout cout
fout fout
fout fout
fout
Heading();

cout cout
cout fin>>first_name;
while (fin) // while (!fp.eof))
{
fin>>last_name;
fin>>hours;
fin>>pay_rate;
salary = pay_rate * hours;
if (salary {
tax = 0;
} else if (salary {
tax = ((salary - 3500)*.06)+ 105;
} else if (salary {
tax = ((salary - 8000)*.11)+ 375;
} else if (salary {
tax = ((salary - 20000)*.17)+ 1695;
} else if (salary {
tax = ((salary - 34000)*.24)+ 4075;
} else if (salary > 52000)
{
tax = ((salary - 52000)*.32)+ 8395;
}
name=first_name+" "+last_name;


if (hours 0)
{

fout
cout }
else if (pay_rate 0)
{

fout
cout
lucky85 5/7/2007 3:53:00 PM
how to understand pointer easier? (1) azah 5/7/2007 6:30:00 AM
Look here: http://www.nextdawn.nl/sub/cplusplus_language/cplusplus_index.php (0) boldyman 5/6/2007 4:29:00 PM
Take a look at this site : http://www.nextdawn.nl

Good luck!
Boldyman
http://www.moneyaside.com (0)
boldyman 5/6/2007 4:27:00 PM
What do you want to access?

MRA
http://www.nextdawn.nl
http://www.moneyaside.com (0)
boldyman 5/6/2007 4:22:00 PM
Hi i am varun sharma

I have a query, what is meant by the buffer system when one is writing the program in c language for creating a calculator with the buffer system( memory function).

would someone be so kind as to give me the source code for the same..

please send your replies to :
or

please reply asap (0)
varunsharma2031 5/4/2007 1:44:00 PM
Hi i am varun sharma

I have a query, what is meant by the buffer system when one is writing the program in c language for creating a calculator with the buffer system( memory function).

would someone be so kind as to give me the source code for the same..

please send your replies to :
or (0)
varunsharma2031 5/4/2007 1:44:00 PM
anybody can tell me how to implement pointer in the array? (1) hunny_86 5/4/2007 9:30:00 AM
Hello ppl... I want code for INTERSECTION OF 2 GRAPHS if somebody knows or have it... thnx (0) georde 5/2/2007 8:15:00 AM
Previous Page Next Page Collapse All | Post Message


 
Sign In
Email
Password
  Forgot my password

Search

Featured Book

Introducing Microsoft .Net, Third Edition ($19.79)
Introducing Microsoft .Net, Third Edition


Featured Software

Microsoft Visual Studio Standard 2005 ($249.99)
Microsoft Visual Studio Standard 2005