[HELP] My capitalization program is not working
 (215 Views)
The problem in my simple learning program is the, basically, it doesn't work and it prints out Segmentation fault (core dumped). I just want to know why it does that and what are the possible solutions. EDIT: That's not really the main problem. Even if I just assign a value to input, it still prints out the error. Code: #include #include
char *cap(char *);
int main(int argc, char *argv[]) {
char *input = " World!";
printf("CAPITALIZED: ");
cap(input);
return 0;
}
char *cap(char *input) {
int i, n;
for(i = 0, n = strlen(input); i < n; i++) {
if(input[i] >= 'a' && input[i]
|
help for find some api in C
 (229 Views)
hey
first of all i must apologize, because my english is'nt very good
i want to find some process api in C.i found something in msdn.microsoft.com but as i said i want them in C.
here is some examples of what i want: Enumerating Processes or http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
if U help me to find a good reference of C api functions i become so much appreciate.
|
Swaping?
 (193 Views)
Is there any way in C++ swap two values without using temp("third
variable").if yes thne how we can
|
VPN configuration activex/api/sdk for windows
 (256 Views)
hello,
i'm trying to build a software product that will auto setup/configure
a VPN connection on windows. does anyone know if MS provides an
activex component or a API or SDK for this
|
|