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.3K People Reached
About Me

R&D Director

Favorite Forums
Favorite Tags
Member Avatar for frctl

I have pasted my cpp code below, my goal is removing the whitespace from my .txt file. Is someone able to provide suggestions and help me figure this out? #include <iostream> #include <sstream> using namespace std; string solve(string s) { string answer = "", temp; stringstream ss; ss << s; …

Member Avatar for hes8
0
124
Member Avatar for Pradeep_10

I want to create a web service,the theme this service is it has two take parameters as two audio files and generate a text file as output file. How would I host this service in server and call this service with server url name? Ex: http://79.132.86.145:8080/getOutput?file1=audio1.wav&file2=audio2.wav If I call the …

Member Avatar for NivekW
0
376
Member Avatar for OTOSystem

I am looking to find a way of reading a value in from the device manager - to see if a Bluetooth devce (always the same one) has the value of TRU for 'is connected'. Any ideas?

Member Avatar for VatooVatoo
0
98
Member Avatar for naz1234

Hi, I got some data from this table. Can it be use using (for loop) ? http://i.imgur.com/lq7WtWA.png Recently, I used (if else) function, but it seem too longer. I am new to C progrmming. Here the code (if else) funtion that I done: if (0 < result < 409 ) …

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

a) Write a loop to print all numbers from 1 to 100, one per line, Write a blank line after every five lines. [10]

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

Hi All, in below code snippet, I have been facing memory leak issue while free memory for string.Could you let me know thereason for the same.I believe if we are allocating memory then it needs to be freedbut what i observed if i don't free the memory it works fine …

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

Hi, I m Nagarjuna.I m doin my Masters in Computer Science at Indian Institute of Technology, Kharagpur. My thesis is on VANET security. I m doin a simulation using GloMoSim software. I want to broadcast messages/packets to all nodes(within the transmission range). As far as I ve understood the GloMoSim …

Member Avatar for NASEEMSHAKEEL
0
246
Member Avatar for srivardhanms

What is the difference between Definition and Declaration of a variable? Am not talking about function, but variable. When I googled, I found these two answers which are quite contradictory! While one says "definition occures once through the program( memory is allocated once ), but the declaration can occur many …

Member Avatar for srivardhanms
0
1K
Member Avatar for ali11

I am receiving this error markup.c: In function ‘GetPrice’: markup.c:16:23: error: ‘markup’ undeclared (first use in this function) markup.c:16:23: note: each undeclared identifier is reported only once for each function it appears in markup.c:17:1: error: ‘output’ undeclared (first use in this function) here is my codes // File: markup.c #include<stdio.h> …

Member Avatar for VatooVatoo
0
186
Member Avatar for prakhs

#include <stdio.h> main() { char *s1, *s2; printf("Enter string 1 :"); scanf("%s", s1); printf("Enter String 2 :"); scanf("%s", s2); printf("%s\n%s", s1, s2); } The output of 1st string is right and the output of 2nd string is wrong (i.e. (null)) Can any 1 explain what is going behind?

Member Avatar for prakhs
0
197
Member Avatar for Lemony Lime

I've recently started college at Digipen, and have developed carpal tunnel already from all the writing/coding/etc... but fortunately for me, I'm learning to be a programmer, and have already made a few programs to assist with things like opening command prompt/bat files faster/without clicking, etc. Since clicking the mouse is …

Member Avatar for np complete
0
173
Member Avatar for BoulderMen

I am trying to write a program that converts a string of numerals to integers. The program I have written gives me an invalid output. Any ideas what I have done wrong ? //Defining what libraries should be included. #include <stdio.h> #include<math.h> int strIntegerTmp(char *string, int collect); int strInteger(char *string); …

Member Avatar for WaltP
0
188
Member Avatar for celina1234

HI , I have a basic question to ask. how do i open a .txt file in C ? i am using the code shown below which is always telling that "file not found". #include <stdio.h> main() { FILE*fp ; fp = fopen ( "PR1.txt","r" ) ; if( fp == …

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

# include<stdio.h> # include<conio.h> void main() { int s1[10],s2[10],s3[10],total[10],per[10],i; char name[20],pid[10]; clrscr(); printf("==================== Marksheet ======================"); printf("\n\n\n"); for(i=0;i<3;i++) { printf("\n Enter your name:"); scanf("%s",name[i]); printf("\n Enter your PID:"); scanf("%s",pid[i]); printf("\n Enter your Subject1:"); scanf("%d",&s1[i]); printf("\n Enter your Subject2:"); scanf("%d",&s2[i]); printf("\n Enter your Subject3:"); scanf("%d",&s3[i]); } printf(" \n ===================== RESULT OF MARKSHEET …

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

i m new in c language.plz tell me which compiler is the best GCC or Turbo c...?i m waiting

Member Avatar for Nomi55
0
256
Member Avatar for sebass123

Hello I am having trouble with my project crashing for every case. We are told to read in a data text file and store into structs and create a linked list of data and allow a user to choose from 4 menu options. I am completely new to linked lists …

Member Avatar for sebass123
0
266
Member Avatar for JAYABAJAJ
Member Avatar for bhagawatshinde
Member Avatar for nesa24casa
0
164
Member Avatar for DizaFire

I am developing a pos application with c language, What i am trying to achieve is to add, and delete users. Adding is not a problem at all. but deleting is becoming too tricky What i am doing is, i am seaching for the record using fread(), then as soon …

Member Avatar for VatooVatoo
0
155
Member Avatar for MasterHacker110

Like you would compile a C++ program. But with C# you always need the .NET framework (such a draw back sometimes). Is there anyway that you can compile the program and run it without .NET?

Member Avatar for VatooVatoo
-1
152
Member Avatar for VIeditorlover

Hi, I have a this code which works OK: class c <T> { public T method (T p) { // ... } } but I would need this: class C <T, U> { public U method (T p) { // ... } } How could I write it, compiler reports …

Member Avatar for VatooVatoo
0
224
Member Avatar for pitic

Hy, I trying to create a windows forms app that also starts a webservice that hosts some webmethods. The webservice is used by different users that connect to it to generate some data. The webservice, in his turn, connects to a public webserver with a certificate from a usb token. …

Member Avatar for qadeer37
0
254
Member Avatar for foo

What is the difference between string and String? If I want string name = "Joe"; String name = "Joe"; which is the correct usage? Is there a difference? Thanks in advance.

Member Avatar for skatamatic
0
281
Member Avatar for George_91

Hello. I need to simulate a button click with a Timer. That the action performed by the button, repeats every 60 seconds. I've never use timers, any help?

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

Hey, I'm having a bit of trouble with progress bars and background workers and want to try and solve this with the simplest solution What I am doing is reading the contents of a specific directory, I am then displaying in a list box all the folder names so that …

Member Avatar for NetDeveloper
0
586
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

hello guys i have some questions and i want you to help me 1- how to find a factorial for a number e.g. input 5 = 5x4x3x2x1 so the is output 120, now please see my code [CODE]int fac = 0 ; int count = 0; int num; cout <<"Please …

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

Hi All, I need to send email from a C# application from localhost. I was successful in sending email using gmail SMPT port and host. But i need send email from local host SMPT virtual server. I followed the steps explained in [url]http://forums.asp.net/t/268037.aspx[/url] and [url]http://weblogs.asp.net/steveschofield/archive/2007/08/15/send-email-from-your-local-machine.aspx[/url] but the mail was not …

Member Avatar for kvprajapati
0
3K