Forum: C May 3rd, 2008 |
| Replies: 0 Views: 214 Query multiple servers quickly Hello,
I am trying to determine the best possible solution to accomplish a simple, yet complex task. (Regarding: Socket Programming)
I've been working on a new project for quite some time and have... |
Forum: Windows Software Dec 4th, 2006 |
| Replies: 5 Views: 2,154 Re: News Article: eFax Messenger Plus Hey cscgal,
Thanks. I have certainly missed this place myself. I think it's time for me to poke around in the C/C++ section again. :)
Glad to see some familiar faces around! |
Forum: Windows Software Nov 29th, 2006 |
| Replies: 5 Views: 2,154 News Article: eFax Messenger Plus eFax Messenger Plus — What Really Happened?
To be honest, I don't know what really happened to the software. I recently discovered that eFax (www.efax.com) no longer supports the eFax Messenger... |
Forum: Viruses, Spyware and other Nasties May 10th, 2005 |
| Replies: 4 Views: 7,284 Re: Explorer.exe Shell Hijack (HJT Log) Hello crunchie-
Thanks for your help. Here is my new HJT log:
----------------------------------
Logfile of HijackThis v1.99.1
Scan saved at 10:33:19 AM, on 5/10/2005
Platform: Windows 2000 SP4... |
Forum: Viruses, Spyware and other Nasties May 9th, 2005 |
| Replies: 4 Views: 7,284 Explorer.exe Shell Hijack (HJT Log) Hello,
I beleive I found a suspicious file on my machine used as an explorer.exe shell. I've been trying to remove it all day, with no luck. Below is my HJT... |
Forum: C++ Mar 29th, 2005 |
| Replies: 45 Views: 33,263 |
Forum: C++ Mar 11th, 2005 |
| Replies: 11 Views: 12,103 |
Forum: C++ Mar 10th, 2005 |
| Replies: 45 Views: 33,263 |
Forum: Shell Scripting Mar 10th, 2005 |
| Replies: 3 Views: 9,012 Re: Learn TCL in 21 days or less Hello,
I have not done TCL script programming before, though I do believe the following links can help you:
Practical Programming in Tcl and Tk (http://www.beedub.com/book/)
Tcl/Tk Information... |
Forum: C Mar 10th, 2005 |
| Replies: 13 Views: 3,351 |
Forum: C++ Mar 10th, 2005 |
| Replies: 11 Views: 12,103 Re: Best free C/C++ compiler for a newbie? Hello,
I would recommend Bloodshed Dev-C++ (http://www.bloodshed.net/devcpp.html) for C++ programming.
If you want to compile C code, I would suggest using a C compiler such as GCC. I'm un-aware of... |
Forum: C Mar 10th, 2005 |
| Replies: 13 Views: 3,351 Re: Another question regarding memory Hello,
Keep in mind if the space cannot be allocated, a null pointer is returned. If you try to write to the NULL block of memory, it will cause a segmentation fault. It's best to test for NULL... |
Forum: C Mar 10th, 2005 |
| Replies: 13 Views: 3,351 Re: Another question regarding memory Hello,
In addition, you may find this short tutorial on Segmentation Faults handy: Locating a Segmentation Fault (http://cboard.cprogramming.com/showthread.php?t=59721#post421421)
Or if you have... |
Forum: C Mar 10th, 2005 |
| Replies: 13 Views: 3,351 Re: Another question regarding memory Hello,
Indeed it should. Each call to malloc will be subsequently freed during each loop iteration.
I'm not entirely sure. I don't have any hard evidence or facts at the moment, though I have run... |
Forum: C++ Mar 10th, 2005 |
| Replies: 1 Views: 3,649 |
Forum: C Mar 10th, 2005 |
| Replies: 13 Views: 3,351 Re: Another question regarding memory Hello,
If I am correct in my thinking, you will have lost allocated memory in your program. Your pointer, q, is a variable. Allocating memory to it 1000 times will cause a problem.
According to... |
Forum: Community Introductions Mar 9th, 2005 |
| Replies: 3 Views: 1,495 Re: Hi All. Hello there Elmo! Welcome to DaniWeb. I'm sure Dani will be around to say hi soon. :D
So welcome and have fun.
- Stack Overflow |
Forum: C Mar 9th, 2005 |
| Replies: 18 Views: 4,716 Re: How to free up memory used for queues? Hello,
1) What I mean't by function scope is simple. All it knows is what is happening within the function, and it doesn't have a clue as to what is happening in the 'int main' part of the program.... |
Forum: C Mar 9th, 2005 |
| Replies: 18 Views: 4,716 Re: How to free up memory used for queues? Hello,
No problem. Let me answer this question by example:#include <stdio.h>
#include <stdlib.h>
void test(char **p) {
/* run test; view memory address */
printf("Function scope: %0x%08x\n",... |
Forum: C Mar 9th, 2005 |
| Replies: 18 Views: 4,716 Re: How to free up memory used for queues? Hello,
When you call free, the memory pointed to by the passed pointer is freed, but the value of the pointer in the caller remains unchanged, because C's pass-by-value semantics mean that called... |
Forum: C Mar 9th, 2005 |
| Replies: 18 Views: 4,716 Re: How to free up memory used for queues? Hello,
Also, be sure to set your variable to NULL after you free the memory. Example:free(G); /* Dynamically allocated memory is freed */
G = NULL; /* This ensures that we point our pointer to NULL... |
Forum: C Mar 9th, 2005 |
| Replies: 18 Views: 4,716 Re: How to free up memory used for queues? Hello,
When free() is called, a block of memory previously allocated by a call to malloc, calloc or realloc is freed:Graph G=malloc(sizeof *G); /* Memory is dynamically allocated */
if (G != NULL) {... |
Forum: C++ Mar 8th, 2005 |
| Replies: 9 Views: 2,663 Re: PLease can somebody help Hello,
Attached is a modified version of your main file: main.cpp
My workspace contains 1 Source File, main.cpp, and 1 Header File, free_list.h.
- Stack Overflow |
Forum: C++ Mar 8th, 2005 |
| Replies: 9 Views: 2,663 Re: PLease can somebody help Hello,
An unresolved external occurs when some code has a call to a function in another module and the linker can't find that function in any of the modules or libraries that you are currently... |
Forum: C++ Mar 8th, 2005 |
| Replies: 9 Views: 2,663 Re: PLease can somebody help Hello,
I have viewed and compiled the source files without warnings or errors with Visual C++ .Net 2003. I did not see main() declared in either of your two files, as I added it manually during my... |
Forum: Shell Scripting Mar 8th, 2005 |
| Replies: 2 Views: 20,642 Re: replacing text with sed Hello,
If I understand correctly, you want to replace all space occurances to "\space" where space represents the space, ' ', character:sed -i 's/ /\\ /' file
To clarify:
sed — Is the program.
-i... |
Forum: Shell Scripting Mar 8th, 2005 |
| Replies: 2 Views: 8,763 Re: Shell Script Help Hello,
You're on the right path, though your syntax is a bit off. We know that sed substitutes text using the s command. Suppose you wanted to change all occurrences of "Unix" in the text to... |
Forum: C Feb 23rd, 2005 |
| Replies: 3 Views: 3,899 Re: Switch Statement, Fall-Through. Hello,
The switch statement is a multi-way decision that tests whether an expression matches one of a number of constant integer values, and branches accordingly. The break statment causes an... |
Forum: C++ Feb 23rd, 2005 |
| Replies: 8 Views: 3,837 Re: Help with while, do while, and for loops Hello,
C provides the infinitely-abusable goto statement, and labels branch to. Formally, the goto statement is never necessary, and in practice it is almost always easy to write code without it.... |
Forum: C Feb 21st, 2005 |
| Replies: 3 Views: 1,506 Re: Assignment guidance Hello,
This is quite simple in fact. We will run one loop through 8 times for simplicity. Each loop around we will increase a single variable that will tell us where to stop. Here is our... |
Forum: C++ Feb 8th, 2005 |
| Replies: 0 Views: 1,227 Pointers Hello,
Brief Tutorial Revision: All examples can be compiled successfully in your compiler. Also, each example is compatable using the -Wall, -pedantic, -ansi, and -std=c89 GCC flags. Also, a few... |
Forum: Windows NT / 2000 / XP / 2003 Feb 8th, 2005 |
| Replies: 2 Views: 5,435 WinXP User Accounts Issue Hello,
I am experiencing a slight problem managing user accounts in Windows XP Home Edition. When running in an existing account, non-administrative, I run into an IE script error and am unable to... |
Forum: C++ Dec 13th, 2004 |
| Replies: 8 Views: 2,299 Re: I have an exam, please give me a site! Heh,
Very funny prog-bman. :)
As for you Nabs, the definition of your nick is intriguing: Apprehend
Google (http://www.google.com), not Giggle, is your friend believe it or not. Just do searches... |
Forum: DaniWeb Community Feedback Nov 12th, 2004 |
| Replies: 38 Views: 7,901 Re: NO-Adware link on this site Were you in the red the two prior years you only had three advertisements on your site?
How much are you paying for your hosting services? Are you exceeding your bandwidth, and being charged a... |
Forum: DaniWeb Community Feedback Nov 12th, 2004 |
| Replies: 38 Views: 7,901 Re: NO-Adware link on this site Ah, I'll see what I can do about the contests.
Maybe something a little simpler than my previous two contests ;)
- Stack Overflow |
Forum: Geeks' Lounge Nov 11th, 2004 |
| Replies: 39 Views: 7,039 |
Forum: C++ Nov 10th, 2004 |
| Replies: 2 Views: 1,219 Re: never to old Greetings,
There are a few syntatical errors in your program. Let's walk through them one step at a time.
Point A
First issue is the local variables themselves. Nothing major, it can be fixed.... |
Forum: C++ Nov 10th, 2004 |
| Replies: 2 Views: 1,916 |
Forum: C++ Nov 9th, 2004 |
| Replies: 5 Views: 17,788 |
Forum: C++ Nov 3rd, 2004 |
| Replies: 36 Views: 9,156 Re: Need help writing a program Greetings,
Creating an inline function to return the average of a group of numbers is not difficult. In this case, we will take all the values of the array and average them. The algorithm to average... |