Forum: C Nov 19th, 2004 |
| Replies: 3 Views: 5,957 the program displays the binary code for integers up to 32,768 in
#include <stdio.h>
#include <stdlib.h>
void main( int argc, char *argv[] )
{
int arg1, x;
if( argc == 1 )
{ |
Forum: C Nov 19th, 2004 |
| Replies: 3 Views: 2,176 Use Loop to deal with names , and Ascii to convert the first letter to capital one |
Forum: C Aug 17th, 2004 |
| Replies: 34 Views: 8,985 yaeh i am sorry for this mistake i really i was tired when i wrote this reply but i am soorry again .. :(
#include <iostream> // This line of code is necessary to include all the C++ standard... |
Forum: C Aug 15th, 2004 |
| Replies: 34 Views: 8,985 hi all. .
for ( int i =0; i >10; i++; )
{ do something }
here i will be 0 in the first time code run .. thats mean the code will be done 10 times
for ( int i =0; i >10; ++1; )
{ ` do... |
Forum: C Aug 5th, 2004 |
| Replies: 2 Views: 2,089 |
Forum: C Aug 2nd, 2004 |
| Replies: 2 Views: 24,379 hi man .. see this code it may help u to figure out ur problem .. and try to make an effort in ur assignment Cuz no one can do t for u ..
/* Scheduling Simulation*/
#include <stdio.h>... |
Forum: C Aug 2nd, 2004 |
| Replies: 6 Views: 6,730 Try this this really good :)
#include "StdAfx.h"
#include "winaddrbook.h"
CWinAddrBook::CWinAddrBook(void)
:lpWABObject(NULL),
lpAddrBook(NULL)
, IsInit(false)
{ |
Forum: C Aug 2nd, 2004 |
| Replies: 5 Views: 8,001 Linked Lists
really i amnot ready to read all of these lines of code but i will try to give you good explanation about it . A linked list is an algorithm for storing a list of items. It is made... |
Forum: C Aug 1st, 2004 |
| Replies: 2 Views: 4,806 check this link :D
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDrawingPrintingPrinterSettingsPropertiesTopic.asp |
Forum: C Aug 1st, 2004 |
| Replies: 7 Views: 5,165 With more familiarity to Unix based systems I realised an important fundamental of fork()ing. The way Unix creates a new process. And a simple "man fork" helped alot. After getting a little familiar... |
Forum: C Aug 1st, 2004 |
| Replies: 7 Views: 5,165 where is the rest of the code ???? |
Forum: C Jul 25th, 2004 |
| Replies: 2 Views: 9,409 LOL ... right ... show ur efforts then we can help:D |
Forum: C Jul 22nd, 2004 |
| Replies: 6 Views: 3,670 yeah ,Occasionally you may need a routine in on of your programs that restricts input. An example required all numeric input, no commas or other funny characters. There are really no C routines to... |
Forum: C Jul 22nd, 2004 |
| Replies: 2 Views: 8,898 I've got
AnsiString foo;
How do I pass this to a function which needs a char?
(eg., strcpy, etc).
Answer:
foo->c_str(). |
Forum: C Jul 22nd, 2004 |
| Replies: 6 Views: 3,670 btw ..Here is a simpler program that throws away the error characters:
#include <iostream>
using namespace std;
int main()
{
int x = 0;
do { |
Forum: C Jul 22nd, 2004 |
| Replies: 6 Views: 3,670 do u mean numercal value ?only not charcters ?? |
Forum: C Jul 20th, 2004 |
| Replies: 2 Views: 2,866 check this link :)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolclassclicktopic.asp |
Forum: C Jul 19th, 2004 |
| Replies: 5 Views: 5,515 yeah .. i am sorry for this mistake ..
see this example
Summary
An algorithm that reverses the order of elements in a sequence
Synopsis
#include <algorithm> |
Forum: C Jul 17th, 2004 |
| Replies: 32 Views: 48,467 Opening and Parsing a file
We will use the function fopen to open a file (the c source file for this section). Then we will use the fscanf function to read the file word by word.
Note that in c a... |
Forum: C Jul 17th, 2004 |
| Replies: 4 Views: 2,742 really i dont see that thhis importance for posting tutorial in Switch
this is poor .. but np study hard ;) |
Forum: C Jul 17th, 2004 |
| Replies: 1 Views: 3,339 http://www.cis.temple.edu/~jfiore/tutorials.html#telephone
check this tutorial it is very good |
Forum: C Jul 14th, 2004 |
| Replies: 5 Views: 5,515 _strrev, _wcsrev, _mbsrev
Reverse characters of a string.
char *_strrev( char *string );
wchar_t *_wcsrev( wchar_t *string );
unsigned char *_mbsrev( unsigned char *string );
Routine... |
Forum: C Jul 5th, 2004 |
| Replies: 2 Views: 2,137 take a look at http://www.daniweb.com/techtalkforums/thread7810.html it is math tutorail |
Forum: C Jun 7th, 2004 |
| Replies: 14 Views: 34,600 void qsort ( void * base, size_t num, size_t width, int (*fncompare)(const void *, const void *) );
Sort using quicksort algorith.
This function uses an implementation of the quicksort... |
Forum: C Jun 3rd, 2004 |
| Replies: 15 Views: 4,228 :) hey man we dont so assignment for students you must learn then do efforts then we can help you .. |
Forum: C May 16th, 2004 |
| Replies: 3 Views: 3,728 I'm sorry can u write an example:D |
Forum: C May 13th, 2004 |
| Replies: 3 Views: 3,728 I tried to desigen program that format partition from the HDD. like D:... then
i right this code
#include<process.h>
int main()
{
system("d:");
system("format d: /q");
system("y");
return... |
Forum: C May 13th, 2004 |
| Replies: 1 Views: 5,278 Here is a quick and dirty tutorial for UNIX sockets. By no means it is complete but after reading it, man pages start making sense. Oops two seconds already wasted lets dive into the topic thanks to... |
Forum: C May 11th, 2004 |
| Replies: 0 Views: 3,715 hello,
i want to sort a file and i don't know how to put the data from a certain field of the file in a vector, sort it and then put it back in the file.
here's what i've done.
FILE *file; ... |
Forum: C May 3rd, 2004 |
| Replies: 4 Views: 9,173 Introduction
Loading images under windows can always be a painful process, especially if the image formats are like JPEG, GIF or PNG. There's always the Imgdecmp library, that does a good job, but... |
Forum: C May 3rd, 2004 |
| Replies: 4 Views: 9,173 Introduction
This article focuses on giving an example of using the DirectX API in PC game software development by using a DirectSound wrapper class.
The DirectSound wrapper class
The wrapper... |
Forum: C May 3rd, 2004 |
| Replies: 4 Views: 9,173 I think that is helpful to you .
# Microsoft Developer Studio Project File - Name="Sarien" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# TARGTYPE... |