199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Cpu-Ctrl

Hi, I have been asked to set up a form with options to select a level of response from 1-10. Ive used radio buttons to this, but im not sure what to put in the asp form so that this info is processed to my email. Im using Adobe Go-live …

Member Avatar for GreenDay2001
0
257
Member Avatar for confused!

Hello all! I'm having trouble with my homework assignment - I've been working on it for hours and have gotten it down to one syntax error and then I think it will compile so I can move on, I just can't seem to figure out what the problem is. Here …

Member Avatar for Salem
0
99
Member Avatar for balgarath

I just started messing around with classes and have been trying to figure out this error for an hour or so. Here is the compiler error: [code] g++ player.cpp tictactoe.cpp TicTacToe.h:15: error: expected constructor, destructor, or type conversion before ';' token player.cpp:26: error: 'TicTacToe' has not been declared player.cpp: In …

Member Avatar for Salem
0
156
Member Avatar for Racoon200
Member Avatar for Racoon200
0
66
Member Avatar for JRM

hello all, I moved a source file from a cgywin file to codeblocks. The file compiled and ran just fine in the cgywin environment. However, the same file under codeblocks complains about an undefined reference to winmain. error: [code] Project : Console application Compiler : GNU GCC Compiler (called directly) …

Member Avatar for Salem
0
76
Member Avatar for mozira

Hello everyone,I am Mozira and live in South Africa.I am currently doing visual C++ for the first time using Borland C++ builder.So i would gladly appreciate it if you could help and guide me with tutorials about visual C++.hope to hear from you soon

Member Avatar for Salem
0
173
Member Avatar for pedz

If NOT_WORKING is defined, the following program gives me linker errors: /usr/bin/ld: Undefined symbols: Definer<int, 1>::d Definer<int, 2>::d Definer<int, 3>::d Definer<int, 4>::d collect2: ld returned 1 exit status But if NOT_WORKING is not defined it compiles and runs. I can't figure out: 1) Why those things are not getting instanciated. …

Member Avatar for pedz
0
108
Member Avatar for l2u

Hello Im working on a huge server on windows and im not sure what approach for multiclients should I use.. I know multithreading is not good, so I've been using non-blocking sockets until now (1 thread), which has limitation but this can be easily changed.. I wondered what do you …

Member Avatar for WolfPack
0
76
Member Avatar for dev.cplusplus

Hi, to all, I'm having the following problem: I'm trying to convert a CString to long(or number), but the number that is in the Cstring is too big and I loose data of the number. I was thinking in using instead of long use the variable ULONGLONG, but the problem …

Member Avatar for dev.cplusplus
0
119
Member Avatar for Exelio

hi, I am doing an application which displays images dynamically.i have resized the images to fit to the screen. Now when i display the images, the images seems to be pixelized. There are more dots around the border of the image. How can i reduce this pixelization? Any ideas. Thanks …

Member Avatar for tgreer
0
127
Member Avatar for mattyd

Hello: I am seeking a few tips in regards to debugging: I have been using [B]Visual C++ 2005 Express Edition[/B] for the last few months but am not very comfortable with its debugging platform. I simply wish to step through a section of the program via breakpoints and view variable …

Member Avatar for JoBe
0
92
Member Avatar for jennifer911

Hi, I need to write a counter code to count the number of spikes in the TTL logic input signal... What should I take as an input... Can i write it normally by putting the count in an infinite loop like while(1) // increment count exit(1) something like this... or …

Member Avatar for Nick Evan
0
305
Member Avatar for cblue

i'm trying to write a program that takes two numbers from the user prints out the sequence between the 2 numbers and then outputs wthe longest sequence for example if the user inputed 8 and 10 it should out put 8 4 2 1 9 28 14 7 22 11 …

Member Avatar for WolfPack
0
795
Member Avatar for nikoz

Hi to everyone..This post is quite urgent to be honest. I need to make an application, like a simple web browser. Its gonna be like a text field where the user enters the url, a text area where the source code of each web page is going to be displayed …

Member Avatar for Niranajn
0
173
Member Avatar for Panachski

Hi, I am a newcomer to Visual Studio 2005 and am having trouble making a timer which will work out the time it takes to download a file. The file is 45 kb and the user can change the speed with a scrollbar, which is called hsbSpeed, from 1 – …

Member Avatar for Panachski
0
105
Member Avatar for Edwin Thabo

[COLOR=#000000]I want to writ a java that would read from a file called memory.txt a list of partition sizes of K’s, one partition per line. It will then read from a file called processes.txt a list of processes requesting these partitions. Each line simple contain a list of sizes in …

Member Avatar for Edwin Thabo
0
257
Member Avatar for Mouche

Another program. This one has you guess 5 letters and then gives you the word you're trying to guess as masked by -'s and has the letters you've guessed filled in. Ex: Say the word is "computer." If you guess "r," "s," "e," "a," and "m." It would say: [CODE] …

Member Avatar for vegaseat
0
10K
Member Avatar for saurabh_kanwar

Hi Guys, Just wondering what's wrong with this coding UN = Form_MAIN!LOGIN_DETAILS.Value model = Form!COMBO_MODEL.Value stDocName = "MODEL_SELECTION" stCOND= "[MODEL_LN]='" & model & "'" And "[TM_NAME]='" & UN & "'" DoCmd.OpenReport stDocName, acViewPreview, , stCOND I'm getting a type mismatch error on the line where I specify value to stCOND. …

Member Avatar for saurabh_kanwar
0
127
Member Avatar for degamer106

I'm having trouble parsing a line with sscanf. My line is: 1941 How Green Was My Valley; John Ford and I want to separate it into a number, string, and another string. I tried: [CODE] if ( sscanf( buffer, "%d %41[^;] %51s", &pMovie->year, &pMovie->title, &pMovie->director ) == 3 )[/CODE] But …

Member Avatar for degamer106
0
90
Member Avatar for pedz

The [] operator must be a non-static member function. I have been able to write a class and overload the [] operator. But in my weird case, I would like to have an array of elements:[CODE]MyClass elements[6];[/CODE]But I don't actually want element access[CODE]element[2][/CODE]to use regular pointer arithmetic; rather I'd like …

Member Avatar for pedz
0
205
Member Avatar for foo

Just Started learning Visual Studio and C#. I am at the point in the book where it discusses the use of objects. This is a really confusing subject. What I want to understand is after you've used a class to create multiple objects, how do you make sure that you …

Member Avatar for tgreer
0
143
Member Avatar for mattyd

Hello: I am having a bit of problem with logic in a segment (marked in [B][COLOR="Blue"]blue[/COLOR][/B]) of this code: the indicated code should simply update the variable upon each pass of the function as it runs; the variable value maxes out at 456-- it will not increase by 228 beyond …

Member Avatar for mattyd
0
148
Member Avatar for odee

How can i make the windows application always on top of every application, including those which are in full screen? Thanks for any replies.

Member Avatar for odee
0
3K
Member Avatar for n.aggel

hi, sorry if this is a stupid question, i am a total newbie:) i want to dynamically allocate an object to a pointer and i write: [code=c++] class_test *ptr = new class_test(); [/code] [code=c++] class_test *ptr = new class_test; [/code] both of them compile:confused:....are they the same thing{meaning that the …

Member Avatar for ~s.o.s~
0
202
Member Avatar for n.aggel

Hi, i would like to separate the declaration of a class from the definition. i know about the [code] void aclass::a_method(){ ..... } [/code] but i dont know anything about what should be written in the header file, and how can i use it through main....:confused: sorry if am not …

Member Avatar for Ancient Dragon
0
147
Member Avatar for saitaj

Hello, I want people to tickmark som items in a table and when they click on submit button the items they have tickmarked should be listed in an email to me. How do I do this in HTML and where exactly do I add the code. I know very little …

Member Avatar for tgreer
0
150
Member Avatar for balekic

Hello all, I am writing a Breakout type game in C++ and I've come across a problem. I've drawn the bricks, bat, and a ball to the screen as well as programmed the movement of the bat and ball, however, collision detection is kicking my butt. I've looked up sample …

Member Avatar for ~s.o.s~
0
135
Member Avatar for mahanta

Hi! I am Mahanta, a final student of communication enginerring. I'm recently doing a project regarding modulation algorithms by using matlab version 6.5. I'v built up a simple NRZI encoding algorithm2 convert the binary inputs into analog signal. Ayw, when i come2 the effort adding bit stuffing in this NRZI, …

Member Avatar for b4codes
0
810
Member Avatar for webspy

I have the following script of a dialog box: [code] #include "Resources.h" IDD_MAIN DIALOGEX 0,0,500,300 FONT 8,"Tahoma",400,0 STYLE WS_CAPTION|WS_VISIBLE|WS_SYSMENU|WS_GROUP|DS_CENTER EXSTYLE WS_EX_APPWINDOW BEGIN // controls END [/code] [code] ... hDlgMain = CreateDialogParam(hInstance, MAKEINTRESOURCE(IDD_MAIN), hWndMain, MainDlgProc, (LPARAM)&MyData); ... [/code] The dialog box itself works great, the problem is that it's not propely …

Member Avatar for Ancient Dragon
0
322
Member Avatar for aidi.morini

[COLOR=#808080]Hi, [/COLOR] [COLOR=#808080]I’ve written a Windows application in Visual Studio .NET using C++. The main window of my application is a dialog window. I need to display a Save File Dialog window when one of the buttons on my main window is clicked. But my main window is a dialog …

Member Avatar for Ancient Dragon
0
148
Member Avatar for edek

I need to check what hardware is installed in the computer using C++. Especially I need to check what graphic card, CPU and HDD is present in the machine of user of my program. Thanks in advance Edek

Member Avatar for Ancient Dragon
0
87
Member Avatar for solar

Hi, I'm working on a simple program to take orders for a company, and I'm using a JTable to display a list of products, very simple - only a few columns and all non-editable text at the moment. I am adding items to a JTable during runtime and I've run …

Member Avatar for solar
0
115
Member Avatar for abyano

i want u tell me details on how to delete data by checking the check mark and then delete

Member Avatar for Rhyan
0
128
Member Avatar for bogeybrown

I get the result I want in a Datagrid by using Recordset Sql: Select * from MYQUERY Where (name Like 'WHATEVER*') I change the name by retyping the whole line, substituting the new name, typed into a long textBox named txt.Select, like this Private Sub cmdSelect_Click() Data1.RecordSource = txtSelect.Text Data1.Refresh …

Member Avatar for bogeybrown
0
106
Member Avatar for EnderX

First: If this is in the wrong forum, I apologize. My question is more concerned with figuring out the correct configuration with the Apache2 web server than with anything dealing particularly with PHP. I simply did not see an appropriate forum for this type of topic. If such a forum …

Member Avatar for EnderX
0
87
Member Avatar for aniravla

Hi, I am new to asp.net programming. I want to know how I can display the record after login. This is the scenario: I have login.aspx and employee.aspx. After login it will direct the user to employee form and display the record of the logged in employee only. The employee …

Member Avatar for aniravla
0
92
Member Avatar for Harshita_garg

Hi guys!!! This is my first post on daniweb & i hope i find a solution to my problem.I am developing a software that makes extensive use of Matrices.i have used dynamic memory allocation for matrices.Now this program makes lots of iterations.It works upto certain iterations say 56 after which …

Member Avatar for andor
0
121
Member Avatar for Toulinwoek

Does anyone know if this is possible, and if so, how to do it? I want to open a child form within an MDI parent. If I close that form, then open it again, it's position is offset (as if cascading). Is there some way to preset (or reset) the …

Member Avatar for Venjense
0
368
Member Avatar for Francis Waldron

ask Using two integers num1 and mun2 divide the first by the second print out guotient and remainder both ints output looks like this First number entered second number entered Quotient Remainder

Member Avatar for Francis Waldron
0
321
Member Avatar for DoubleShot

HELP! I am trying to write a database app with three tables. I have figured out how to connect to my database with oledbconnect. From there I am confused as to how to get a select command to work. I have found plenty of info on selecting data from one …

Member Avatar for Venjense
0
144
Member Avatar for Shiva_nan

Hi, I am working with Win32 programming in C language.. I am using Dev C++ compiler 5.0 .. I had created the tab control in the form with the following coding. [COLOR="Red"]g_hwndTabCntrl = CreateWindowEx(0, //more or 'extended' styles WC_TABCONTROL, //the 'class' of window to create NULL, //the window title WS_CHILD|WS_VISIBLE| …

Member Avatar for Shiva_nan
0
288
Member Avatar for raj.sagit

hi im new to jsp i have to connect oracle database 8i with jsp page i want step by step tp connect into oracle database i already refered many threads in this blog as im new to jsp i cant get exact procedure can any 1 give me step by …

Member Avatar for skandar
0
97
Member Avatar for mimi78

please can anyone help me. i have the hangman project in vb.net but i don't know from where to start ( talking about the form itself) i don't know how to design it. please help:sad:

Member Avatar for mimi78
0
116
Member Avatar for Mouche

So, I'm trying to make a program that works with Newton's method. I want the program to take in two formulas and a guess and then follow this pattern. This is the pseudocode/python (I kinda did both): [code] [B]def[/B] newtonIterationFunction(x) [B]return[/B] x - (function1) / (function2) get function1 get function2 …

Member Avatar for Mouche
0
212
Member Avatar for NeroToxic

Hi all. I'm currently using Visual C# 2005 Express, and to my horror realized that it doesn't support Setup & Deployment Projects, it only caters for ClickOnce Publisher. :sad: And I can't get that working, I recieve the one minfest file error after the other. Do any of you know …

Member Avatar for Godfear1
0
102
Member Avatar for x2012

Hi, im very new to programming. I was just wondering if anyone can help me code a simple program that opens up a few instances of internet explorer when i type a certain symbol (of a stock) in to a text box For example, if the symbol of a stock …

Member Avatar for Godfear1
0
155
Member Avatar for marceta

Hey all. Anyone know prolog language? My dillema is: [code]A teacher is on playground duty encounters a problem with a bully, a hungry nerd and an apple and he must escort these three to the office. The teacher, by school rules, can only escort one at a time to the …

Member Avatar for chrise2
0
152
Member Avatar for dabobrow

I have a C++ program that reads from an infile, determines by a char if the line should be Deleted or Added. From there the program uses pointers to insert data into a sorted list. The issue I am having is printing the data out properly If you notice, I …

Member Avatar for dabobrow
0
189
Member Avatar for MarkWalker84

Hi everyone. Would really just like someone to take a look at what ive done and tell me how many horrible faux-pas ive made :-) I'm trying to teach myself the language as im going along which is making it hard to conform to any standards. I know there are …

Member Avatar for bumsfeld
0
119
Member Avatar for ohart

From what I can gather, it [I]appears[/I] that you cannot access Excel from VB.NET without having Visual Studio 2005 Tools for Office (and a healthy extra sum of money)! Is this really true? There's got to be a way, seeing as you can do it in VB6 without anything extra. …

Member Avatar for ohart
0
119

The End.