|
|
Up |
|
|
  |
Author: apaticulapaticul
Date: May 3, 2008 22:43
Now that I can compile ".cpp" files in Microsoft's Visual C++ 2008
I still can't figure out how to compile a ".c" file, since
every time I do it, the extension is changed to ".c.cpp"
Any tips? (I mean here, those folks that have been used Visual C++
before, because I need
some advice on concrete terms, such as: "go to View-Other Windows- etc
etc" than click here, etc )
Thanks in advance.
|
| |
|
| |
17 Comments |
|
  |
Author: Bob NelsonBob Nelson
Date: May 3, 2008 19:10
WWDPD - Before posting to c.l.c, I try to ask the question ``What would Dan
Pop do?''. With that in mind, I'm certain that Dan would never begin a
message with a salutation such as ``Hi'', ``Hey'' or ``Hello''.
As a oldtimer in this group, I don't recall usage of such salutations by Dan
or anyone else for that matter back in the 1990's. I also don't see the
esteemed experts of today starting a thread or responding to a post with
``Hi''.
Don't be mistaken. A post starting with this kind of greeting is most
certainly not offensive. I personally just take it as little more than
``unwarranted chumminess with the newsgroup'' (with apologies to dmr). I
suppose it arises from newbies accustomed to on-line chatting.
plz u can splain if i am rit bout dis
lol bye
|
| |
|
| |
2 Comments |
|
  |
Author: CLC statsCLC stats
Date: May 3, 2008 12:06
============================================================================
Analysis of posts to comp.lang.c
============================================================================
(stats compiled with a script by Garry Knight)
Total posts considered: 985 over 7 days
Earliest article: Sat Apr 26 20:08:02 2008
Latest article: Sat May 3 20:04:02 2008
Original articles: 90, replies: 895
Total size of posts: 2,762,591 bytes (2,697K) (2.63M)
Average 140 articles per day, 0.38 MB per day, 2,804 bytes per article
Total headers: 1,098 KB bodies: 1,599 KB
Body text - quoted: 574 KB, original: 630 KB = 52.32%%, sigs: 390 KB
Total number of posters: 179, average 15,433 bytes per poster
Total number of threads: 121, average 22,831 bytes per thread
Total number of User-Agents: 35
============================================================================
Top 20 posters by number of articles
==================================================================...
|
| Show full article (15.03Kb) |
|
no comments
|
|
  |
Author: IgalIgal
Date: May 3, 2008 09:21
hay, i'm doing this program. having problem wiht realloc in the
function that reads data structures into array (pointer - bp2), this
happens after reading the second record. when call to realloc.
i can't figure out what's wrong, think it's soming got to do with
freeing bp2.
and something called "corruption of the heap".
book* LoadBookData(unsigned *size)
{
FILE* fp;
int n = 0;
book *bp2 = NULL;
|
| Show full article (1.18Kb) |
|
10 Comments |
|
  |
Author: Charles SullivanCharles Sullivan
Date: May 3, 2008 07:29
Suppose I have this code:
unsigned short svalue;
unsigned char hibyte, lobyte;
svalue = 0xABCD;
hibyte = (svalue >> 8) & 0xFF;
lobyte = svalue & 0xFF;
Will this result in the values of hibyte and lobyte being 0xAB and 0xCD
respectively, regardless of whether the platform is little or big endian?
Thanks for your help.
Regards,
Charles Sullivan
|
| |
|
5 Comments |
|
  |
|
|
  |
|
|
  |
Author: Michael.ZMichael.Z
Date: May 3, 2008 00:22
Anyone who can help:
Given a Table.h file I am writing a Table.c file.
I keep getting the compile error:
previous declaration of Table was here / conflicting types for
I think the problem was the result of two pieces of code.
First: typedef struct Table; /* in Table.c*/
Second: struct Table { /*struct definition */ } *Table; /* in
Table.h */
How can I solve the problems?
Here are the two files
/* * * * * * * * * * * * * * * * * * * * * * *
Header file:
* * * * * * * * * * * * * * * * * * * * * * */
#ifndef TABLE_H
#define TABLE_H
#include "bool.h"
typedef void * Table ;
typedef void * DataT ;
|
| Show full article (1.42Kb) |
|
12 Comments |
|
  |
|
|
  |
Author: apaticulapaticul
Date: May 3, 2008 00:09
I've adressed this problem awhile ago, just to get some arrogant
answers here,
tipically.
Anyway, I feel like compiling some c programs again and I still can't
compile them in Vista.
The only advice I could find on the Internet was this:
"1)add "C:\Dev-Cpp\libexec\gcc\mingw32\ 3.4.2" to the binaries location
under the directories tab
2)go to the programs tab and add c:\dev-cpp\bin\ to all the listings.
I then was able to compile my c programs completely and have them run
correctly"
from this site
http://sourceforge.net/forum/message.php?msg_id=4156252
Even though I did exacly the same shit as above, it still not
working,
I use Windows Vista Basic.
(P.S. to whoever doesn't fit this topic here, fuck-off)
|
| |
|
85 Comments |
|
|
|
|