by: Brian Stubblefield |
last post by:
Dear clc members,
I am rather new to the C programming language.
I have a rather large program that I am currently debugging.
Currently, the following snippet of code in the c program:
...
|
by: Chris Readle |
last post by:
Hi all,
Somewhat new to C and I'm getting the following error from my latest code.
Here's the warning I'm getting:
chris_readle_project3_assignment3.c: In function `main':...
|
by: PraZ |
last post by:
Hi all.
Here is a simple code, which when compiled with gcc results in the
warning "incompatible pointer type" for arg 1, as expected. But this is
just what I want to do, because it makes it...
|
by: Michael |
last post by:
Hi all,
why do I get a message:
warning: passing arg 1 of `collectInput' from incompatible pointer type
In 'main' have:
char inputString;
collectInput(&inputString);
|
by: wanglei0214 |
last post by:
I compiles a program in SLOS, but there is a warning i donot know how
to remove?
here is the framework of the code:
typedef struct device_tree
{
......
union
{
|
by: Frederick Gotham |
last post by:
For objects, we have "void*" as the generic pointer type. For instance:
enum ParamType { Int, Double };
void Func(void *const p,ParamType const pt)
{
switch (pt)
{
case Int: *(int*)p = 42;...
|
by: shuisheng |
last post by:
Dear All,
Assume I have a class named Obj.
class Obj
{ };
And a class named Shape which is derived from Obj.
class Shape: public Obj
|
by: william |
last post by:
code segment:
long int * size;
char entry;
.............
size=&entry;
*************************************
Gcc reported 'assignment of incompatible pointer type'.
|
by: cheesiong |
last post by:
Can anyone explain the following codes?
especially the cast of pointer type.
What does it really mean. Thanks.
float f1;
unsigned long l1;
f1=4.5;
l1=*(unsigned long*)&f1;
|
by: iammilind |
last post by:
Is there any way to change a pointer type to our user defined type.
For example,
In my code, I have something like this:
=================================
int i = 0;
int *p;
int **pp;...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|