User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 402,507 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,842 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 174
Search took 0.02 seconds.
Posts Made By: Stack Overflow
Forum: C May 3rd, 2008
Replies: 0
Views: 214
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
News 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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
Re: C++ BASICS ==> Pointers, Call by Reference/Value, Inheritance, Functions & Arrays

Hello,

I see a problem with the following code:int main(void)
{
myfunction(argument1, argument2);

int argument1 = 4, argument2 = 5;

return 0;
}Simple. You create your variables after you try and...
Forum: C++ Mar 11th, 2005
Replies: 11
Views: 12,103
Posted By Stack Overflow
Re: Best free C/C++ compiler for a newbie?

Hello,

You may want to try:// my first program in C++

#include <iostream>
using namespace std;

int main (void) {
// Display text
cout << "Hello World!" << endl;
Forum: C++ Mar 10th, 2005
Replies: 45
Views: 33,263
Posted By Stack Overflow
Re: C++ BASICS ==> Pointers, Call by Reference/Value, Inheritance, Functions & Arrays

Hello,

» One aspect of C functions may be unfamiliar to programmers who are used to some other languages, particularly Fortran, is Call by Value. In C, all function arguments are passed "by value"....
Forum: Shell Scripting Mar 10th, 2005
Replies: 3
Views: 9,012
Posted By Stack Overflow
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
Posted By Stack Overflow
Re: Another question regarding memory

Hello,

You're welcome. If you have any further questions regarding the information I provided, don't hesitate to ask.


- Stack Overflow
Forum: C++ Mar 10th, 2005
Replies: 11
Views: 12,103
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
Re: How can I use the Checkboxes into a Tree Control

Hello,

I'm not very fluent in Win32 programming, though I might be able to point you in the right direction. Below are a list of links that may help you:


A checkbox tree control for use in...
Forum: C Mar 10th, 2005
Replies: 13
Views: 3,351
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
News 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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
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
Posted By Stack Overflow
Re: It's Dani's Birthday!

Happy Birthday!
Forum: C++ Nov 10th, 2004
Replies: 2
Views: 1,219
Posted By Stack Overflow
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
Posted By Stack Overflow
Re: I keep getting an error message on my computer called General Protection Exceptio

Greetings,

A simple fix I saw. In your function gettemps() change:scanf("%f",temp[i]);To"scanf("%f",&temp[i]);if If you want to store the result of a scanf operation on a standard variable you...
Forum: C++ Nov 9th, 2004
Replies: 5
Views: 17,788
Posted By Stack Overflow
Re: Convert first character from lowercase to uppercase?

Greetings,

Thinking on the same line, lets walk along the string. Better yet, lets use a while loop to do so. By creating a seperate function to modify the string would probably be beneficial in...
Forum: C++ Nov 3rd, 2004
Replies: 36
Views: 9,156
Posted By Stack Overflow
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...
Showing results 1 to 40 of 174

 
All times are GMT -4. The time now is 5:53 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC