i have it with an uppercase M because I have my own function.
The problem is that when I try to access an array location i.e. CArray[1] it gives me an error that it cannot access the memory location
Type: Posts; User: pseudonoma
i have it with an uppercase M because I have my own function.
The problem is that when I try to access an array location i.e. CArray[1] it gives me an error that it cannot access the memory location
Hey all,
I was trying to malloc an array of structs and i always gets an error for incompatible types
Here's part of my code:
#define MAX_COMMANDS 50
typedef struct {
SpecType Type;
Hey all,
I have a string1: "This is the string"
and I want to replace the word "the" with string2: "not a"
so that string1 becomes "This is not a string"
i know how to use strstr to find the...
Thanks
Can i do this:
AString = (String1 + "and" + String2);
??
Or is there an other way?
Thanks
Hey all,
I've been trying to think of a way to extract a part of a string from a position to the end of the string, and I can't figure out how.
For example
Zthis is is the part of the string i...
So should it be:
#include <stdio.h>
#include <stdlib.h>
#define MAX_STRING 128
typedef char String[MAX_STRING];
I'm trying to get a struct to malloc (one time its size) this is the code:
#include <stdio.h>
#include <stdlib.h>
#define MAX_STRING 128
typedef char String[MAX_STRING];
Thanks all for the replies, I managed to figure it out with iMalc's help, and it works. Thanks for the help
Hey,
I am new to C, and I'm stack on code for bitwise operation
I need to get a function (which i have a call from main) using 3 integers to say if bits in a range are all on or off
...