I'm reading a file in C, char by char but I need to get 2 consecutive chars. Please, can someone suggest me some options?
the main idea of the program is to read a source C file and to find the number of all significant chars (ignore ws) and to ignore '*/' & '/*'. I'm trying to write the program in really basic level because it is for c...
how do you compile java progrmas in cygwin?
...
i am new to cygwin..what are the normal steps that are followed while setting classpath and all for running programs in cygwin?
...
Hi! I wanted to know, what would the coding be if I wanted to toggle mute/unmute of my microphone. I am making a program that can run in the background and pickup a keypress event and toggle mute/unmute of the mic. Any help with any of that coding would be very helpful. I am pretty new to C#, and this is just a really simple program I wa...
what is the step-by-step procedure for executing a program in mahout
...
I have made a demo small program that I want to deliver to my client so that he can run it for 5 times to check its functionality. It is not a big software for which I implement some serial-key functionality and make a trial software.
I want a simple solution which can restrict the use of the program more than 5 times or which can delet...
I want to detect that people with access to the sql server didn't write an unapproved application against a database. I noticed in sql server that the application name comes over in the log. I don't want someone to be able to just look at that name in the log and then name their assembly the same thing.
...
I know use System.exit(0) can end a java program, for instance, if I have a JFrame window, it will close and end the program, but I wonder how many other ways, can it be closed and the program be ended ? Including when an error occurs, will the program be shut down and the JFrame be closed ?
...
In order to test CSS in different browsers, do I have to result to installing each browser on my development system? Isn't there a useful program where you can just load an html+css file and view how it's rendered in different modern browsers?
...
Hi
Send email using mail function working fine. but my question is how to auto save the mail in sent items folder when mail sent
i m using own smtp server and port no is 25
is any config needed on php ini file or i may use imap
my code is as follows
<?php
function send_email($from, $to, $subject, $message){
$headers = "From: ".$fro...
Hi,
I like to know difference between script and a program. Most of the time I hear script is running , is that not a program.I am bit puzzled.Can anybody elaborate on this?
Thanks
...
Can we write a c program to find out time spent in context switch in Linux? Could you please share code if you have one?
Thanks
...
I can't seem to find the right version of setup.h that gets used when building with ../configure, make. What directory is it? There seems to be tons of variations but I change them and the changes aren't used. Help.
...
My project is supposed to be about creating a program to help put a math test online. The program should generate questions that vary on each run of the test, and it should grade the test after someone takes it. (I found out recently that there's a system that can do some of the tasks already, but I don't think many people know how to us...
Is there a program out there or some other thing that will run some kind of virtualization for me or something, to test the hardware minimums for a program I write? Something I can do locally without install testing on, say, a 33 mhz 64kb ram IBM or something
...
I am writing a console application in python that will consist of a handful of modules, each with a couple hundred lines of code.
For development it would be nice to modularize the program, but for distribution I like the idea of being able to post the program as a single python script.
Are there any good scripts out there for flatteni...
Hi all,
I have a program that crashes when I execute it with System.Diagnostics.Process.Start in C#, but works fine if I execute a shortcut or batch file that runs the exe. Are there any alternative means of executing programs in C#, or any reasons why Process.Start might not work compared to the shortcut or batch file? I'd rather not h...
I Just think that I could actually contribute code much faster if I didn't have to learn what is an almost entirely other subject.
...
Hi all,
I have a little console C# program like
Class Program
{
static void main(string args[])
{
}
}
Now I want to do something after main() exit. I tried to write a deconstructor for Class Program, but it never get hit.
Does anybody know how to do it.
Thanks a lot
...
Hello,
I am studying pointers and I encountered this program:
#include <stdio.h>
void swap(int *,int *);
int main()
{
int a=10;
int b=20;
swap(&a,&b);
printf("the value is %d and %d",a,b);
return 0;
}
void swap(int *a,int*b)
{
int t;
t=*a;
*a=*b;
*b=t;
printf("%d and%d\n",*a,*b);
}
Can any on...