199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for fatboysudsy

Hi all, Am fairly new to the programming world, but am kind of struggling along. I have written a piece of code for a client program with has given me some errors that i just can't see when compiling. The errors listed are : client.c: In function `main': client.c:118: error: …

Member Avatar for WaltP
0
98
Member Avatar for rickvidallon

[COLOR=#000000]We have a scheduled task which runs every 5mins and sends pending email campaign. The scipt has been written in VB and following is the code which actually sends the mail:[/COLOR] [COLOR=#000000]set mailer = createobject("cdo.message") mailer.subject = this_subject mailer.from = "name<[/COLOR][EMAIL="member@americancongressfortruth.com"][U][COLOR=#0000ff]email address[/COLOR][/U][/EMAIL][COLOR=#000000]>" [/COLOR][URL="http://mailer.to/"][U][COLOR=#0000ff] mailer.to[/COLOR][/U][/URL][COLOR=#000000] = this_to mailer.htmlbody = this_body mailer.send …

Member Avatar for hollystyles
0
112
Member Avatar for someoneelse

I am trying to implement a pop up control, but so far, all the examples I found seem to be a 3rd party application. Is this so, or shoul dI be able to find one? Does anyone have an example of a pop up control, preferrably moveable (like drag and …

Member Avatar for M_K_Higa
0
80
Member Avatar for sundarN

Hi all, consider the following xyxy9=ABC:ADC:uio xyoy10=DEF:DCF:uip ........................... .............................. 100 lines I want to compare the strings ABC and ADC........similarly DEF and DCF..... if they are equal then no operation is done else they are written in a single array thanks in advance.

Member Avatar for Lerner
0
62
Member Avatar for kylcrow

Ok I am writing a Rock Paper Scissors game for my c++ class. I have done most of it, but now I am stuck. I need to keep an overall score for the computer wins, user wins, and ties for as long as the user wants to keep playing. After …

Member Avatar for kylcrow
0
1K
Member Avatar for squinx22

how do i compile a project with files/codes in a subversion.. suppose I have these files in a version control: folder/implement.cpp folder/head.hpp I want to compile my main.cpp with these files What I did is: $ g++ main.cpp ../svn/folder/implement.cpp -I ../svn/folder/ -o main It doesnt work... Pls give me link …

Member Avatar for WolfPack
0
106
Member Avatar for jonbc86

Java program with a menu of 6 items. -each of the 6 items has a check box -when the food is selected it appears to the right saying that so n so was selected. -then i just need a welcome screen before that to introduce the program -then the user …

Member Avatar for jonbc86
0
89
Member Avatar for augustinus

is there a way to edit .htaccess so that when I include links on my HTML pages with the <a href> tag, I can abbreviate links within the same site? For example, if I want to have a link from index.html in the parent directory to /plans/index.html (which is a …

Member Avatar for augustinus
0
128
Member Avatar for hassanmushtaq

i m new to java and j2me. i m developing chatting client. i have almost completed it. but when i m testing it on Nokia 9300 Communicator it gives exception like java.microedition.media Exception: Symbian OS Error: -14. this exception occurs while chatting with other person with rapid pace. and one …

Member Avatar for hassanmushtaq
0
115
Member Avatar for jonbc86

import java.awt.*; import java.awt.event.*; import java.swing.*; import java.util.*; public class Main extends JFrame implements ActionListener { private DefaultListModel mod1=new DefaultListModel(), private DefaultListModel mod2=new DefaultListModel(); private JList 11 = new JList(mod1), private JList 12 = new JList(mod2); private JButton to=new JButton(">>"), delete=new JButton("<<"), ord=new JButton("order"); private JLabel costLabel=new JLabel("Total Cost: $0"); …

Member Avatar for jonbc86
0
87
Member Avatar for t3hfr3ak

I have been trying to figure this out for quite some time... Some help would be appreciated :) [inlinecode] intnumber = txtnum.Text intcount = 1 Do While lngsum <= intnumber intcount = intcount + lngsum lngsum = lngsum + 2 Loop lblsum.Caption = "The sum of the odd numbers is: …

Member Avatar for davidcairns
0
117
Member Avatar for nschessnerd

Hello all, I am writing a program so people can sign up for a class at a school. The class has a limited number of spaces and i was wondering if there was a way to show somer kind of live number of poeple in the class. also i would …

Member Avatar for soumyajit
0
82
Member Avatar for peter_budo

I have directory which is used to temporary store images while working with them. Once all process are done and images are not need it anymore I would like to delete them. I tried following code but it didn't work. Where is problem? [code] Runtime comPrompt = Runtime.getRuntime(); String[] execStr …

Member Avatar for uh63
0
2K
Member Avatar for Direwolf007

Hello, I have been asked to provide an algorithm for the following: You are given an array of length N, which contains values in the range from 0 to (N^2) - 1. You are to sort it in O(N) time. I have been unable to find any way to do …

Member Avatar for Direwolf007
0
181
Member Avatar for saroonah

[COLOR=red][B]good day everyone [/B][/COLOR] [COLOR=red][B]i have a smart question and it is my homework i did not know how to start and what the ideas [/B][/COLOR] [COLOR=red][B]Can you help ????[/B][/COLOR] [COLOR=red][/COLOR] [COLOR=red][/COLOR] [COLOR=red][B]Write a linear-time algorithm that sorts [/B][/COLOR][COLOR=red][B]n distinct integers, each of which is between 1 and [/B][/COLOR][COLOR=red][B]500[/B][/COLOR][COLOR=red][B]. Hint: …

Member Avatar for Infarction
0
91
Member Avatar for karan_21584

hey, here i have a question. i want to select a directory path alone... For example, by using "openfiledialog" control, we can select the file path (eg., d:\sample\dest.txt). But i want to select only the path (eg., d:\sample\).... can anyone help me ? thanks in advance...........

Member Avatar for karan_21584
0
351
Member Avatar for Spardante

Hi. I'm having trouble with a program I am writing in MIPS. This is an assignment, so I'll understand if no one helps. The program has two recursive functions: Power and Multiply. The basic algorithms for each are: [code] int Power(int base, int expon) { if(expon == 0) return 1; …

Member Avatar for MacGyver Orca
0
505
Member Avatar for devesh9392

Hi i'm lil new to perl wat i want to do is to login to my gmail account and click on the "Search mail" button using the perl script. this is my script, but thr is a problem tht when i click on the "Search mail " button (second last …

Member Avatar for KevinADC
0
104
Member Avatar for tefflox

I'm learning javascript. My first idea has led to a problem. I'm trying to set up strings to load at random intervals on different parts of the page, but I don't know the right function to use with setTimeout(). I hear "don't use document.write" and "probably don't use innerHTML", but …

Member Avatar for digital-ether
0
77
Member Avatar for rzozaya1969

I have an application that I want to create my own dialog screens. For example, the user cliks on one frame, and I want to open a window for the user to enter data, after the user finishes, he presses OK and then the main app continues. On the class …

Member Avatar for lucky1981_iway
0
173
Member Avatar for viivaakash

Can anybody help me out and tell me that in which microprocessor 8086 or 8088, a far procedure call executes faster and with reasons Plz help me as early as possible

Member Avatar for Purple Avenger
0
698
Member Avatar for Chicano0409

Hello, I keep getting segmentation faults when running this program. Could anyone help me with this? [code=c] #include<stdio.h> #define SIZE 5 void clearTicket(int ticket[SIZE]); void printTicket(int ticket[SIZE]); int main() { int ticket[SIZE]; int number; int sentinel; int i; /* Simple instruction prompts for the user's benefit */ printf("\nWelcome to the …

Member Avatar for Aia
0
92
Member Avatar for fresher

Hi, im in the process of developing an iptables firewall for personal use...Being a newbie in shell scripting im trying to adapt a code i found here:[URL]http://homelansecurity.sourceforge.net/script.php[/URL]. thanks to [J. Howard.] but dont quite understand this block of code below especially the content of '$1' variable as related to the …

Member Avatar for fresher
0
278
Member Avatar for Savs

Is there a way to read the long answer from server not using non-blocking sockets? The problem is that recv blocks if server stops to send. [CODE]while(true){ n=recv(skt, buf, BUFFER_SIZE,0); if(n<=0)break; buf[n]='\0'; std::cout<<buf; }[/CODE] So, how to break from while(true) before recv() blocks? My experiments with select() failed. =(

Member Avatar for Savs
0
124
Member Avatar for kxh29

[B]Team:[/B] [B]I have a date which comes in the format of mm/dd/yy.[/B] [B]Example: 08/01/00[/B] [B]Now, I have my regular expression to check for this in this[/B] [B]format.[/B] Example: $result = $start_date =~ /(\d\d)\/(\d\d)\/(\d\d)/; So, when I enter a date in the format of 08/01/00, the result is success, or a …

Member Avatar for KevinADC
0
126
Member Avatar for kpack08

[COLOR=#555555]Hi I was assigned a project in my C++ class. the project is to write a program using arrays. I have to write it for a plane that has 15 seats. Seat 1 to 7 is first class and seat 8 to 15 is economy. The program should be able …

Member Avatar for ~s.o.s~
0
165
Member Avatar for stupidenator

Hi everyone, What is the difference between UNIQUE and DISTINCT? It seems that they do the same thing. Thanks, Nick

Member Avatar for stupidenator
0
365
Member Avatar for adimoga

hey ppl.. i`m searching for a nice software community. Can you provide a list wit other community like this? I want to make a comparation :) thank yoy, adrian

Member Avatar for adimoga
0
66
Member Avatar for Mini_The_Great

Ok i just started C++ about 2 days ago and I have somthing not working and somthing I need to ask, hopfully somone can help me. Im making a dll to use with a gamemaking software called gamemaker that support using dll's. oh ya, im using Dev-C++ First, This is …

Member Avatar for Mini_The_Great
0
126
Member Avatar for FreeFull

Hello. I made an command-line application. Now I want tomake an gui version but I don't know which GUI I should choose. I want the executable to have requirements for libaries while running (so I don't think about using GTK). I tried QT but I don't know if I can …

Member Avatar for FreeFull
0
147
Member Avatar for nschessnerd

Anouther question... is there anyway to get the time from a remote server (so it doesnt use the computers time)? Thanks M

Member Avatar for nschessnerd
0
112
Member Avatar for addicted

hey, its me again, i was thinking of asking you this questions since.... I study C++ by myself without any tutor apart from the help i get here... although i understand everything i read... and i solve most of the exercises easily .. except few... i don't know.. is this …

Member Avatar for mariocatch
0
120
Member Avatar for Matt Tacular

Hey, I was just wondering how to get a variable assigned a random number within a certain range. I tried the rand, but I seem to get the same set of numbers everytime I run the code... I did some research on random numbers in C++ and understand the whole …

Member Avatar for Matt Tacular
0
72
Member Avatar for amtallah

please i want to convert string to datetime by using jsp and i hope to any one replay Example String s="mm/dd/yyyy" to Datetime s1=s:?: :?: :?: :?: :?:

Member Avatar for rgtaylor
0
122
Member Avatar for sanju21

At which level logging should work in project..show me the ways to use logging concept. I am using role based access in project..

Member Avatar for rgtaylor
0
115
Member Avatar for kdee

Hi! I have both combo boxes and datagridview on the same form. Combos are not inside the datagrid. They are outside On the top of datagrid aligned in a horizontal line. Each combo is aligned with its own column from datagridview. But... When I resize (to the right) let's say …

Member Avatar for Methos
0
123
Member Avatar for jameswoodhouse

I'm very new to [URL="http://www.daniweb.com/techtalkforums/post343678.html#"]VB[/URL] this is my first attempt at a project. basically i want a simple [URL="http://www.daniweb.com/techtalkforums/post343678.html#"]program[/URL] that will display a famous singers surname in a text box, then ask the user to input the singers first name in another box. The system must then check the answer …

Member Avatar for hollystyles
0
140
Member Avatar for sushilover25_78

I am trying to figure out a way to write a program that takes the "digital product" of a number (has to be positive). Like if I had 123456789, it would take 1*2*3*4*5*6*7*8*9 which is 362880. It would then take 3*6*2*8*8 (leaves out zeros) which is 2304. Then 2*3*4 which …

Member Avatar for soumyajit
0
117
Member Avatar for wishy_witch

Hi there, I am going to develop a program which get its input via USB port. I have no idea how I can read data from the USB port using C#(C++ would be alright). Can you guys help me? Thank you so much. :o

Member Avatar for kratos
0
143
Member Avatar for ajay_tabbu

dire friends i write code in applet for scrole text left to right.now i want same thing in verical direction n cover full length of screen.so what i should do it

Member Avatar for ajay_tabbu
0
131
Member Avatar for rapperhuj

HOw do you compare 2 strings without using strcmp...??? would u please give me an example and how it will work.. THNK YOU Very Much!!:S:X

Member Avatar for wise_monkey
0
119
Member Avatar for stonecoldstevea

Need help urgenlty -please I'm new to the forum and request help I need to write code containing a for loop from 1 to 30.everytime the loop is executed, the answers of one respondent to each of the 3 questins, should be inputed - Q1. how old are you, Q2, …

Member Avatar for thekashyap
0
271
Member Avatar for MukeshZ

Hi, I want to calculate 2's complement [ Negate all bits + 1] of BYTE array in c++ or VC++ firstly i am adding all elements of BYTE array and assigning it to integer variable now i want to calculate 2's complement of it. How can i do this plz …

Member Avatar for MukeshZ
0
495
Member Avatar for squinx22

how could I connect the saved implementations in subversion to the main/test program outside the subversion? I want to use the saved file in the subversion as a library so that i could use it in any programs... tnx in advance...

Member Avatar for thekashyap
0
115
Member Avatar for Bugg

Hello, First, I want say that I have heard quite a lot about this site. It is a great site and I am happy to have found it. Back to business, because I want to start early. I am building this site with PHP and I also want to attach …

Member Avatar for Phaelax
0
98
Member Avatar for shsh_shah

Hi All, I am working on linked list application which the structure is as: [code] public static void Main(String[] args) { Console.WriteLine("Please Enter the data to be Inserted in the LinkList..."); Object obj = new Object(); node n = new node(); linklistImp llist = new linklistImp(); ArrayList ast = new …

Member Avatar for shsh_shah
0
115
Member Avatar for Elfshadow

I have trying C and so far it's gone great but this has been driving me mad today. I could swear scanf worked earlier but its crashing my programs? I know you get this problem when you forget the pointer thing & but this should work [code] #include<stdio.h> int main() …

Member Avatar for Elfshadow
0
130
Member Avatar for Dani

I'm taking an Operating Systems course in which I need to write some really in depth programs (more specifically, along the lines of a terminal based program which implements many system level unix-like commands). However, the catch is that this must be written in straight C, which I have no …

Member Avatar for Elfshadow
0
572
Member Avatar for php_coder

Hii all I am working on a project implemented in WordPress. Basically developing a new theme for a client. My task is to add hyperlinks on the header so that they navigate to new page. This is possible if the pages are placed in the root folder but not in …

Member Avatar for php_coder
0
75
Member Avatar for wavalker

Can anyone help me in integreation of vb.net and Autocad. i want to read autocad's digrame's dimentions through vb.net or vb 6.0.it emergency

Member Avatar for wavalker
0
116

The End.