Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
46% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
5
Downvotes Received
7
Posts with Downvotes
5
Downvoting Members
5
7 Commented Posts
0 Endorsements
Ranked #2K
~19.4K People Reached
About Me

R&D Director

Favorite Forums
Favorite Tags
Member Avatar for frctl

You can use something like this: while ((c = getc(fp)) != EOF) if(c == 32) ....

Member Avatar for hes8
0
133
Member Avatar for Pradeep_10

If I understand your question, you want to send your local file names to server and then server read them and calculate the response. When you send your request to server (HTTP-GET), the server is not able to read your local files. You need to send files binary data to …

Member Avatar for NivekW
0
376
Member Avatar for OTOSystem
Member Avatar for naz1234

You dont need last if else. instead just use else ... ... else //4095++ { volt = 10 ; } You also need to define result variable as a unsigned.

Member Avatar for jnneson
0
262
Member Avatar for nashmug
Re: c++

We don't provide code. If you have any problems post your code and people will help you. But for now and your start point and for the last time: for(int iIndex = 1; iIndex<=100; iIndex++) { cout << iIndex << endl; if( iIndex%5==0 ) cout << endl; }

Member Avatar for VatooVatoo
0
127
Member Avatar for can-mohan

Maybe you could use somthing like this: #include<stdio.h> #include<stdlib.h> #include<string.h> #define RESULT_FAILURE -1 #define RESULT_SUCCESS 0 int16_t fun(char *iaddr) { char* p = NULL; int i = 0; int len = 0; int rc = RESULT_SUCCESS; if(strlen(iaddr)>0) { len = strlen(iaddr)+1; p = (char*)malloc(len ); strcpy(p,iaddr); for(i=0;i<len;i++) { printf("%c", p[i]); …

Member Avatar for can-mohan
0
1K
Member Avatar for nagarjuna

as I know GloMoSim software does not have C/C like developing environment. buddy you are in wrong place

Member Avatar for NASEEMSHAKEEL
0
246
Member Avatar for srivardhanms

As deceptikon said, a declaration of variable is saying to compiler "I will use a variable it is defined before and on another file."

Member Avatar for srivardhanms
0
1K
Member Avatar for ali11

C is Case Sensitive it means you must use all variables, macros, functions, ets as is in decleration. You also have to declare all variables before you are using them. I recommend you to use Camel Notation in naming of everythings except macros.

Member Avatar for VatooVatoo
0
186
Member Avatar for prakhs

Because you have to allocate a memory block for each pointer. Pointers as its name explain are variables those point to address of memory blocks, so when you declare a pointer it is not garantee to point to suitable area of system memory so you have to do that by …

Member Avatar for prakhs
0
198
Member Avatar for Lemony Lime
Member Avatar for np complete
0
173
Member Avatar for BoulderMen

This is working code on Watcom C/C++ #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <math.h> #include <string.h> int iConvertString2Integer(char *string, int iIndex, int iIntegerValue); int iString2Integer(char *string); int main (void) { char string[512]; printf("Enter a string of integers: "); scanf("%s\0", string); printf("The integer entered is : %d\n", iString2Integer((char *)string)); system("PAUSE"); …

Member Avatar for WaltP
0
188
Member Avatar for celina1234

> Using puts() -- BRAVO!!! Finally someone who doesn't use printf() :o) I think you are a good C programmer. A few persons are using puts in their code, but puts performance is better than printf.

Member Avatar for VatooVatoo
0
146
Member Avatar for bhavin.chavada

change your lines 5,6 as below: `int s1[3],s2[3],s3[3],total[3],per[3],i; char name[3][20],pid[3][10];` and change line 31 as below: `printf("\n Your Total of Marks is:%d",(total[i]=s1[i]+s2[i]+s3[i]));`

Member Avatar for deceptikon
0
145
Member Avatar for rithish
Member Avatar for delta_frost
-1
109
Member Avatar for Faiza akmal

`#include <stdio.h>` is a precompiler command and said to compiler 'before starting to compile my file add stdio.h file to this line' There are several precompiler commands and #include is one of them. stdio.h file name is header file and there are alot of header files.

Member Avatar for nitin1
0
95
Member Avatar for Nomi55

Use GCC if it is in your decision. [Turbo/Borland C](http://blog.mousavi.net/2012/05/14/borland-c/) is from 80s and 90s.

Member Avatar for Nomi55
0
257
Member Avatar for sebass123

You need to read a little more about [pointers](http://blog.mousavi.net/2012/09/14/what-is-a-pointer/). For example in line 117 you attempt to create an new node by using emp variable before you were assigning any values to emp members. Because emp members (account structure) are pointer and you have to assign a variable. Pointers are …

Member Avatar for sebass123
0
267
Member Avatar for JAYABAJAJ

[Bluetooth Device Development using C#](http://blogs.msdn.com/b/codejunkie/archive/2008/09/13/bluetooth-device-control-development-using-c.aspx)

Member Avatar for VatooVatoo
0
59
Member Avatar for bhagawatshinde
Member Avatar for DizaFire

I recommend you to use binary file read write for POS applications. Create an array of WaiterInfo and re-write all data to file every time that fields changed. Dont append to file or something like that. In this way you must add to or delete from array then write whole …

Member Avatar for VatooVatoo
0
155
Member Avatar for MasterHacker110

You need to write your own C# compiler. there are not any compiler in the market for this purpose.

Member Avatar for VatooVatoo
-1
152
Member Avatar for VIeditorlover

I cant understand what is your problem because you could use multiple generics as you wrote above. for example: public class Node<K, T> { public K Key; public T Item; public Node<K, T> NextNode; public Node() { Key = default(K); Item = default(T); NextNode = null; } public Node(K key, …

Member Avatar for VatooVatoo
0
224
Member Avatar for pitic

If you want that your WinForm application react as a web service server first you have to write TCP/IP server then implement one of web service protocols you want to use, usually SOAP. For more information about protocols [Click Here](http://blog.mousavi.net/2012/05/31/web-service-protocols/)

Member Avatar for qadeer37
0
256
Member Avatar for foo

both are the same thing. Look to this link [Click Here](http://blog.mousavi.net/2012/05/30/difference-between-string-and-system-string/)

Member Avatar for skatamatic
0
281
Member Avatar for George_91

Just call the method that defined for button event into timer event method. private void timer1_Tick(object sender, EventArgs e) { button1_Click( sender, e); } you also could put null for parameters. private void timer1_Tick(object sender, EventArgs e) { button1_Click( null, null); }

Member Avatar for skatamatic
0
1K
Member Avatar for D.Twomey

If there is a loop and you try to change ProgressBar value from this loop you have to check is your ProgressBar in the same thread of loop is working. (Use [B]InvokeRequired [/B]and if it is true [B]Invoke [/B]the method) I recommend you dont change the value of a ProgressBar …

Member Avatar for NetDeveloper
0
587
Member Avatar for VatooVatoo

Hi folks, I am working on a Windows Form project that all things in it are dynamically created during run time. So all controls are created during running application and also events are assigned to controls. Also I have to mention all controls are user defined controls. All event functions …

Member Avatar for VatooVatoo
0
143
Member Avatar for empror9

Dear Epmpror, please put your own code so we will say you what is going wrong. This is not a forum for solving your homework. We just help you for your improvment. By the way you could look at this [url]http://www.daniweb.com/forums/thread43314.html[/url]

Member Avatar for Agilemind
0
347
Member Avatar for anish.anick

use this code for "localhost" [CODE] using System.Web.Mail; . . . MailMessage xMailMessage = new MailMessage(); xMailMessage.From = "My Test System <test@test.com>"; xMailMessage.To = "vatoovatoo@mousavi.net"; xMailMessage.Subject = "This is a test"; xMailMessage.BodyFormat = MailFormat.Html; xMailMessage.Body = "<html><head><title>Test emial</title></head><br /><br /><hr>JUST A TEST<hr><br /><br /></body></html>"; SmtpMail.SmtpServer = "localhost"; SmtpMail.Send(xMailMessage); . . …

Member Avatar for kvprajapati
0
3K