16,004,778 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Erebus_22 (Top 15 by date)
Erebus_22
10-Apr-17 1:46am
View
Deleted
main() { int n; printf("Enter the no of digits"); scanf("%d",&n); printf("%0nd",n); }
This code wont give the required result of 00005.
The solution must vary with value of n eg n=6----->000006, n=4---->0004
Erebus_22
7-Oct-16 12:35pm
View
thanks I get it
Erebus_22
7-Oct-16 12:32pm
View
So what about 0111 which gives output as 49
Erebus_22
9-Sep-16 12:23pm
View
The debugger shows the correct value but the print function isn't printing the correct value, Why is that
Erebus_22
9-Sep-16 12:09pm
View
The debugger shows the correct value of the data variables but its the print function which doesn't print the correct value
Erebus_22
9-Sep-16 6:58am
View
Thanks but the main issue was stdlib
Erebus_22
9-Sep-16 6:56am
View
The rest of the code is fine, the returned value will be copied into another variable because its temporary. The main function default value is int . The %s is extraneous statement in main . Actually the concern is in the user defined funciton
<pre>
token=strtok(input2,seps);
while(token!=NULL)
{
Data[i]=atof(token);
token=strtok(NULL,seps);
i++;
printf("%f",Data[i]);
}
printf("\n%d",i);
A=Data[0];B=Data[1];C=Data[2];D=Data[3];E=Data[4];F=Data[5];G=Data[6];H=Data[7];I=Data[8];
printf("\n data =%f %f %f %f %f %f %f %f %f",A,B,C,D,E,F,G,H,I);
</pre>
The values returned should be the values passed to the function but are not, That's the issue.
Thanks for your input but the main issue was the exclusion of stdlib.
Erebus_22
3-Sep-16 6:31am
View
Thanks it was a internal bug
Erebus_22
3-Sep-16 5:20am
View
thanks that is resolved.
the problem that i am facing is with GetDiskFreeSpaceEx which is giving incorrect disk size, my D drive is disk drive but the function still shows available space in drive, why is that
Erebus_22
1-Sep-16 15:27pm
View
Sudoku solver is the one I am trying to create
Erebus_22
27-Aug-16 7:48am
View
Well, thanks .I guess I'll use openstack to create images create a shell script and run it using php to expand size of image.
Thanks
Erebus_22
27-Aug-16 6:51am
View
That is the point, assuming that I created the VM using oracle VirtualBox or vmware how can I control The size of the application ,using Php commands to the tool which eventually manipulates the size of the VM
Erebus_22
27-Aug-16 5:40am
View
I want to use PHP to send commands to the software so that it creates VM's
Erebus_22
19-Aug-16 23:33pm
View
Once the user clicks a radio button, how can I know which button is clicked?
What code do I use for that
Erebus_22
18-Aug-16 22:03pm
View
Yes, but the main case is to handle command case, how to do that for radio button, how to know weather a change in selection is required
Show More