User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 403,003 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,810 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 215
Search took 0.02 seconds.
Posts Made By: ssharish2005
Forum: C 6 Hours Ago
Replies: 2
Views: 44
Posted By ssharish2005
Re: Flow Chart

Hmmm seems like that need to implement a lexical and a syntax analyzer. Have a look at compiler design concept.

ssharish
Forum: C 6 Hours Ago
Replies: 3
Views: 47
Posted By ssharish2005
Re: Ant Based Clustering algorithm in C Coding

hehe cheers ArkM :)

ssharish
Forum: C 6 Hours Ago
Replies: 8
Views: 86
Posted By ssharish2005
Re: using multiple operation in string

Well, algorithm can be implemeneted in any language, its just not in C++. I have implemented the same algorithm in 3 different languages. Follow the link to find the way to convert...
Forum: C 7 Hours Ago
Replies: 3
Views: 47
Posted By ssharish2005
Re: Ant Based Clustering algorithm in C Coding

HAHA what is Ant Clustering algorithm. Never heard of it before. But any way, no one is gonna give you the code unfortunately. People are here to help but not to pass on the code. Have you go any...
Forum: C 7 Hours Ago
Replies: 8
Views: 86
Posted By ssharish2005
Re: using multiple operation in string

What I can understand, is that your are looking for something called Infix to postfix expression. And then solve or evaluate the postfix expression. The postfix expression can be evaluated very...
Forum: C 13 Hours Ago
Replies: 5
Views: 72
Posted By ssharish2005
Re: Problem with functions and arrays

You dont have to have such a huge list if and else to do this. You to reduce that to just few lines of code. Looks the my version of convert function.


int convert( char *str, int *number )
{
...
Forum: C 13 Hours Ago
Replies: 3
Views: 44
Posted By ssharish2005
Re: Guessing Game

It looks like that he might have his own SDL and API by the looks of it.

@OP - What does this code do?

ssharish
Forum: C 14 Hours Ago
Replies: 2
Views: 36
Posted By ssharish2005
Re: Problem using the while loop

scanf("%d", &miles);


You need to read double here. But you are reading integer. Or at least change the type of miles here to integer. You might actually expect some meaningful result.

And you...
Forum: Python 25 Days Ago
Replies: 4
Views: 295
Posted By ssharish2005
List vs Tuples

Hello all,

Can any one explain me whats the main different between them two data structures. I have been like working on them quite lot now. When do we use tuples and when do we use list. Any...
Forum: C Aug 3rd, 2008
Replies: 9
Views: 441
Posted By ssharish2005
Re: anyone knows chip programming with c

Well, if you don't have any experience of working on embedded programming. You should start get some book on PIC controller and learn. Embedded programming is something different programming paradigm...
Forum: C++ Aug 2nd, 2008
Replies: 3
Views: 159
Posted By ssharish2005
Re: exciting questions - please help

Brizhou, Is that all have you got so far. The was a poor attempt. And where is your code tag. No one of gonna ook at your took.

Let me ask, have you understood the question throughly? If not you...
Forum: C Aug 1st, 2008
Replies: 9
Views: 289
Posted By ssharish2005
Re: Help Me!!!

The only thing which you need to work around is to find the no of digit after the decimal point. If you can get the no of digits you could pow function to get the denominator and the numerator would...
Forum: C Jul 28th, 2008
Replies: 17
Views: 642
Posted By ssharish2005
Re: Dynamic memory allocation with strings

>simply wouldn't compile without explicit typecast to (char*).
Which compiler are you using??

ssharish
Forum: C Jul 28th, 2008
Replies: 9
Views: 403
Posted By ssharish2005
Re: Plz give me code to find the squareroot of a number

Well why dont you use a library function from math.h.


#include <math.h>
...
...
sqrt( 4 );


ssharish
Forum: Software Developers' Lounge Jul 28th, 2008
Replies: 5
Views: 418
Posted By ssharish2005
Re: Job Search

Thanks guys for the reply. Yeah it seems it so difficult to get a job at the movement. Well i never use to call agencies before. Let me try that. Let me call quite often and kill them lol. See if...
Forum: Software Developers' Lounge Jul 27th, 2008
Replies: 5
Views: 418
Posted By ssharish2005
Job Search

Hello everyone,

I finished my graduation degree 2 months before and I was in the process of applying for a job. It been two months now. I just had three interviews. Its so frustrating. Why would I...
Forum: C Jul 27th, 2008
Replies: 11
Views: 581
Posted By ssharish2005
Re: can anyone help me with this C program?

Haha, here we have one more homeword thread?

Dapsigar, show us a bit of progress on this assignment. You could expect some more help!

ssharish
Forum: C Jul 27th, 2008
Replies: 12
Views: 1,246
Posted By ssharish2005
Re: convert Decimal to Hexadecimal system..

Well converting hex to binary is just problem. But there is one more reason. It is difficult to remember the binary pattern. So we group them to form it small number which still referees the same...
Forum: C Jul 26th, 2008
Replies: 8
Views: 454
Posted By ssharish2005
Re: File Format Conversion/Compression

accho, as I said before, writing data onto a file either in binary or ascii is not gonna make a difference apart from few kila bytes. If your are really considered reducing the file size you need to...
Forum: C++ Jul 26th, 2008
Replies: 8
Views: 354
Posted By ssharish2005
Re: i need help to prepare my program plz?

Jamshed

Let me honest and polite with you. No one is gonna help you, if you don’t show us what have you have got so far. You need to show some progress.

By the looks of it, it’s not a job...
Forum: C Jul 26th, 2008
Replies: 2
Views: 262
Posted By ssharish2005
Re: uncertain results from "printf" with "%g"

Try atof. See if they get the same answer. As said before it an implemenation issue.

ssharish
Forum: C Jul 26th, 2008
Replies: 3
Views: 270
Posted By ssharish2005
Re: converting string[][] to float[]

You could actually solve this problem using the fgets and sscanf function. These two function would do all things which you are looking for. Perhaps, you will have answer the Salem's question for...
Forum: C Jul 25th, 2008
Replies: 8
Views: 384
Posted By ssharish2005
Re: error C2447: '{' : missing function header (old-style formal list?)

Well, i could see some other problem as well now with that code. Can you please post the error message please

ssharish
Forum: C Jul 25th, 2008
Replies: 8
Views: 384
Posted By ssharish2005
Re: error C2447: '{' : missing function header (old-style formal list?)

#define GCD();

Take of that semicolon from that statment. Macros donst need a semicolon. If your marco definiation are like too big then you might use a '\' to speak it up and concatenate.

But for...
Forum: C Jul 24th, 2008
Replies: 15
Views: 553
Posted By ssharish2005
Re: Quadratic Formula

pLike, you should really consider looking at on how to indentent you code first. Well the error message you get there is basiclly specifying that GetInteger cannot be assigned to the interger. It...
Forum: C Jul 24th, 2008
Replies: 8
Views: 454
Posted By ssharish2005
Re: File Format Conversion/Compression

I don't think, it does make any big difference in writing the values into the file in either ASCII or binary is going to give you any difference in terms of file size. It all the same as far i can...
Forum: C Jul 24th, 2008
Replies: 17
Views: 642
Posted By ssharish2005
Re: Dynamic memory allocation with strings

YES, you need to allocate memory for msg before you copy the string on to msg. Failing to do that will lead to a Segmentation fault.

ssharish
Forum: C++ Jul 24th, 2008
Replies: 7
Views: 354
Posted By ssharish2005
Re: Get system() output

He did ask, on how to create process and stuff. The link should give him an idea. Perhaps Salem's solution seems the best!

ssharish
Forum: C Jul 24th, 2008
Replies: 10
Views: 337
Posted By ssharish2005
Re: help needed to compute maclaurin series using c

Well, you could actually return of type double from your factorial function. You could have the denominator float as well to produce the right result. So try with return double and some modification...
Forum: C Jul 24th, 2008
Replies: 10
Views: 337
Posted By ssharish2005
Re: help needed to compute maclaurin series using c

Well, you need to do some error checking there. Thats not a complete code as I said before. You need to work upon it. You need to do some error checking there. Anything divided by 0 is 0. What are...
Forum: Software Developers' Lounge Jul 24th, 2008
Replies: 6
Views: 482
Posted By ssharish2005
Re: Can u test pseudocode?

>dry runs
True, should have notices that key work.

ssharish
Forum: C++ Jul 24th, 2008
Replies: 8
Views: 354
Posted By ssharish2005
Re: i need help to prepare my program plz?

I am sorry, i dont have any problem. Its your problem that you dint read the form rules before asking for help!

ssharish
Forum: C++ Jul 24th, 2008
Replies: 8
Views: 354
Posted By ssharish2005
Re: i need help to prepare my program plz?

May be you should really consider lookin back the sticky thread on top of this form.

Is it your homework my friend????

ssharish
Forum: Windows NT / 2000 / XP / 2003 Jul 24th, 2008
Replies: 12
Views: 352
Posted By ssharish2005
Re: Keyboard not recognized; Mouse disabled

Well, when I refer CPU I mean the cabinet!!!! It could be anything within the cabinet the ports, MB, memory anything etc.

ssharish
Forum: C Jul 24th, 2008
Replies: 10
Views: 337
Posted By ssharish2005
Re: help needed to compute maclaurin series using c

#include<stdio.h>
#include<math.h>

int factorial( int );

int main()
{
int n;
double x,i;
double value, sinx;
Forum: Software Developers' Lounge Jul 23rd, 2008
Replies: 6
Views: 482
Posted By ssharish2005
Re: Can u test pseudocode?

Well, the pesudo code should be converted to a code and then try with some test input.

Well, YES, you cant just compile a pesudo code. So on what language are you suppose to implement the pesudo...
Forum: C++ Jul 23rd, 2008
Replies: 10
Views: 346
Posted By ssharish2005
Re: Need help adding a search function.

Shouldn't that be either (*iter).nameoriter->name

ssharish
Forum: C++ Jul 23rd, 2008
Replies: 11
Views: 312
Posted By ssharish2005
Re: C++ Ratio! help please!

Ohh man, you need to properly indentent your code. It so difficult to go through with that code.

Identent your code, you might except more help.

And what is '#' char in each line? Dosnt look...
Forum: Windows NT / 2000 / XP / 2003 Jul 23rd, 2008
Replies: 12
Views: 352
Posted By ssharish2005
Re: Keyboard not recognized; Mouse disabled

Well, if you dont see your num light on the keyboard, then the power stuff to that key board is not give. Is it possible to check that keyboard with the different computer and see if your see any...
Forum: C++ Jul 23rd, 2008
Replies: 7
Views: 354
Posted By ssharish2005
Re: Get system() output

You perhaps have a look into a concept called Inter Process Communication (IPC) Have a look at the following tutorial.

You create a new process by call a function called fork() and you start a new...
Showing results 1 to 40 of 215

 
All times are GMT -4. The time now is 9:13 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC