199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for eyedea2011

I'm trying to write 2 codes in C++, but i'm having major problems. The first one should output something like this: Enter a number: 123 -- Enter a name: Jack Thank you, Your name and number is Jack and 123. [code=cplusplus] #include "stdafx.h" #include <iomanip> using std::cin; using std::cout; using …

Member Avatar for Ancient Dragon
0
396
Member Avatar for themid
Member Avatar for themid
0
64
Member Avatar for teklu

I would like to access a webpage in my VB6 form. I have read an article about this how to get it in netscape navigator like <webBrowse Navigate "microsoft.com" >. But my Internet Browser is internet explorer.I want it using internet explorer.

Member Avatar for jireh
0
128
Member Avatar for complete

I am looking for a good example of how to do a pop-up menu in MFC. I have found this bit of code: [CODE]void CMyView::OnRButtonDown(UINT nFlags, CPoint point) { CView::OnRButtonDown(nFlags, point); CMenu* menu_bar = AfxGetMainWnd()->GetMenu(); CMenu* file_menu = menu_bar->GetSubMenu(0); ASSERT(file_menu); file_menu->TrackPopupMenu(TPM_LEFTALIGN |TPM_RIGHTBUTTON, point.x, point.y, this); }[/CODE] But what if my …

Member Avatar for complete
0
1K
Member Avatar for StrikerX11
Member Avatar for Luc

Hi folks, now i have my form up and running, i would like to get it protected against spammers. I did a google on it but it seems hard for me as a newbie to get it right so i ask for your advice. Would the following code, inserted after …

Member Avatar for Luc
0
80
Member Avatar for macneato

hi, dont usually ask for help since i believe in google. But im in a serious fix. intro: currently working on a table that has three fields, 'id' 'current' 'previous'. problem: i want to insert another field (or two - no too sure how to go about it) but with …

Member Avatar for iamthwee
0
85
Member Avatar for tupadjia

lets say i design a form on a [URL="http://www.daniweb.com/techtalkforums/post310919.html#"]windows[/URL] form where i can write down customer info, for example, now, how can i save that so that when opened, by double clicking, i can view that certain record and maybe even edit it on the spot? if anyone can answer …

Member Avatar for preetham.saroja
0
82
Member Avatar for rinoa04

Hello, I have done a web based project in C#. One of the module that I did was newsletter. I did the newsletter in javascript to design a simple editor with simple function such as bold, underline, italics etc like the one we used in this forum. I am wondering …

Member Avatar for iamthwee
0
90
Member Avatar for Pro2000

Hello, Can you give me the code wich shows me the files and folders in the current folder by FTP? THanks.

Member Avatar for stymiee
0
133
Member Avatar for tformed

I am working off the code that the professor provided, but for some reason I cannot get it to work. It is giving me errors. I created a project in Visual Studio. The header file: [code]#include <iostream> #include <math.h> using namespace std; class xy_coordinate { public: void input(); void print(); …

Member Avatar for ~s.o.s~
0
226
Member Avatar for no1zson

I have spent the weekend reading about GUI and how Java uses it, and all I got was confused. :o) I decided the best way to learn it was just to get in to it and start coding, so that is what I did. Went better than I thought it …

Member Avatar for no1zson
0
235
Member Avatar for mauro21pl

Hi I have a small code and a question concern it. What is the value of the first print of ptr2. I have 0. Why? Isn't suppose to be a memory address like for example 0xff10 thanks [CODE=cplusplus] #include<iostream> #include<conio.h> using namespace std; int main() { //a: 0xdf30 //b: 0xef41 …

Member Avatar for Ancient Dragon
0
99
Member Avatar for mauro21pl

Hi Could anybody fill the table for me. thanks Declarations and initializations int i=3,j=5,*p=&i,*q=&j,*r; double x; [code] value Equivalent expression value p==&i; **&p r=&x 7**p/*q+7 3**q-*p [/code]What excutly means: **&p and *&p Ihave seen them somewhere, but I don't know what it means thanks

Member Avatar for Bench
0
108
Member Avatar for someb0dy

Hello guys ! I've just started to learn Assembler and I needed an assembler. My choice was nasm, because of the same syntax as masm and tasm (at least that's what i heard ^^) I used apt-get to install nasm, everything ok until here. I wrote my first script (copied …

Member Avatar for someb0dy
0
352
Member Avatar for Luc

Hi folks, just registered here in the hope to get some help. I'm new to PHP and have following problem: a simple form used to get the field inputs into my email box. But although i get a "successful" page upon sending, nothing drops in my mailbox. Here's the full …

Member Avatar for Luc
0
174
Member Avatar for aravindkishore

Hi everybody,I faced one interview question in interview that , Where should you write the code(for properties like back ground color etc) which applies for every page of your website when application of your website starts? and please give the example also. Please give the answer. Thank you, Aravind

Member Avatar for kedar_challa
0
176
Member Avatar for ivatanako

[B]I have been having problems on how can I revise or if someone could me a code on emu8086 on how to convert uppercase string into lowercase[/B]..the code below converts lowercase into uppercase..how can i revise it? Thanks in advance org 100h .model small .stack 200 .data msg db 'enter …

Member Avatar for Ancient Dragon
0
4K
Member Avatar for suneel kar

i am new to visual basics.plz tell me how to read data from databasr and write to text file recordwise .if any book which will gide me though this . thanx reply soon suneel

Member Avatar for suneel kar
0
116
Member Avatar for Stefano Mtangoo

Hi! I'm Newbie in programming and I'm interested in VB and VC++.My problem is that I don't know completely how to program VB or VC++ Dll so that i will NOT repeat procedures in each exe i write. Is there anybody to guide me to write simple example? With regards, …

Member Avatar for Ancient Dragon
0
103
Member Avatar for komathana

I am writing a DICOM viewer program, now my program displays three info abt DICOM..i want to make my program to display other informations like patient name and slice thickness..understanding dicom is really hard..if one any working with DICOM plz help me. This program dont have errors..but i need some …

Member Avatar for Ancient Dragon
0
145
Member Avatar for guru511

hi, can u plz tell me how to slpit a string using a delimeter... exp: my string is like guru\text now i want it to be splitted into guru text any 1 plz tell me...

Member Avatar for QVeen72
0
152
Member Avatar for sunithamcsit

hi everybody, I have one problem with my screen(i.e JSP), when iam adding records it will showing upto particular records.but when i check in database table it will showing the newly added data. can anyone please suggest me how to make my records adding as dynamic. Thank you

Member Avatar for techkar
0
99
Member Avatar for ShawnCplus

I'm having a slight problem. This particular function is crashing caused by the Loadfile ifstream being opened. [code=c++] void LoadChar(Entity players[], char saveNum) { string filename, saves; saves = saveNum; filename = "save/Save" + saves + ".sav"; char *file; file = const_cast<char*>(filename.c_str()); ifstream Loadfile(file, ios::in); //this little diddy right here …

Member Avatar for ShawnCplus
0
1K
Member Avatar for coco86

something is not right with these code the [COLOR="red"]Is True Then , pls help me to correct it.... [/COLOR] If isEmpty(Mfgno) Is True Then lbl1.Caption = "Error" Else lbl1.Caption = "NoError" End If Debug.Print (Mfgno)

Member Avatar for coco86
0
88
Member Avatar for eyedea2011

I'm a student that needs extra emergency help please!! Please help my assignment is already late. I'm trying to get these 2 codes to work but i can't. I have no more ideas, can someone please please help me. I'm using Microsoft Visual C++ to for my codes. Here they …

Member Avatar for Salem
0
254
Member Avatar for chihwei

Need some help , i don't know where went wrong Thank you "Reversing the elements of an array involves swapping the corresponding elements of the array: the first with the last, the second with the next to the last, and so on, all the way to the middle of the …

Member Avatar for chihwei
0
267
Member Avatar for xfrostedkissx

Can someone please help me make my could into 2-3 multiple java files? I really don't know how to break it up and I am afraid if I do, I'll mess it up and have to start all over again. So if any could please help me it would be …

Member Avatar for jwenting
0
187
Member Avatar for nurit

Hi, I'm developping a site in arabic, I put the UTF-8 charset, but the arabic chars that are shown correctly in design view become junk in browser view. text from DB is shown correctly anu idea? Thanx,

Member Avatar for Infarction
0
196
Member Avatar for e1seix

Help me out guys. I am probably being such a bonehead but I can't figure out where I've gone wrong with this code for adding Next/Prev buttons to my pages: $ ID = $_GET; $limit=2; // rows to return $numresults=mysql_query("SELECT * from fragrances WHERE ID=$ID ORDER BY title"); $numrows=mysql_num_rows($numresults); // …

Member Avatar for katharnakh
0
128
Member Avatar for coco86

Please help me!!! i've done somecode but it doesnt seems to match... error Out of stack space.. Public Function isEmpty() Dim MyVar As String, MyCheck As String MyCheck = isEmpty(MyVar) ' Returns True. MyVar = Null ' Assign Null. MyCheck = isEmpty(MyVar) ' Returns False. MyVar = Empty ' Assign …

0
74
Member Avatar for DeOiD

hi i need to open a new window using [INLINECODE]open.window[/INLINECODE] to control some parameters, like window size, bars, scrollbars... the problem is that this way the brower blocks the window like if it was a popup... is there any way to solve this? if there is any other way to …

Member Avatar for MidiMagic
0
240
Member Avatar for purplephp

My web designer disapeared and left me with my site done in PHP and MySQL. It was all ok until the other day when something suddenly stopped working. I don't know anything about MySQL or PHP. On my site when you click 'recently added' it used to display products in …

Member Avatar for purplephp
0
125
Member Avatar for mauro21pl

Hi I try to compile that program to see the results but I encountered a problem. The error that is guven by my comiler is : K undeclared (first use this function) e undeclared n undeclared and so on how my I make it compile thanks [code=C++]#include <iostream> int main() …

Member Avatar for Ancient Dragon
0
102
Member Avatar for missfidz

i'm a student and not very good in java programming language. my lecturer had asked me to develop a simple messenger that have basic features like chat, transfer file, add friend and so on.. anyone here can help me and give me the coding or explain to me how to …

Member Avatar for Phaelax
0
100
Member Avatar for rainbow78

it suppose to take the user input(a number) and put that item into your item into the inventory(1. hat, puts hat into the inventory). After that I need a loop that will keep adding items into the inventory intill it reaches the max and allow the user to discard one/replace. …

Member Avatar for rainbow78
0
309
Member Avatar for praveen_kr541

Here in my project i am using [COLOR="Red"]this[/COLOR] reference to know my current name of td. Below i provided sample code similar to my project. "[COLOR="Red"]this[/COLOR]" won't working in Mozilla. I am migrating my project to Mozilla . So please help me. [code] <html> <head> <script> function f(a) { alert(a); …

Member Avatar for Voynex
0
106
Member Avatar for DeOiD

hi again is there a way to change css rules using javascript? i have this: [INLINECODE]<style type="text/css"> .flash { position:absolute; left:52px; bottom:30px; } .logo { position:absolute; left:0px; top:20px } </style>[/INLINECODE] and i want to change .logo and .flash attributes depending on the window size... thanks

Member Avatar for Voynex
0
114
Member Avatar for shouvik.d

As we all know we don't have Hashes in STL can anybody please suggest an analogous way of emulating it. Or also has any library added it as a standard component? Please do let me know

Member Avatar for Rashakil Fol
0
153
Member Avatar for *~ Salam ~*

[COLOR="Red"]- Creat a Daubly Linked List with 9 node with the following values: 3 ; 2 ; 1 ; 4 ; 6 ; 7 ; 2 ; 8 ; 3; - print the Daubly Linked List: - Creat a function number " Special Delete" that searches for a value in …

Member Avatar for WolfPack
0
103
Member Avatar for lasherz2

Hi, i got a datagrid that has its gets records from a table in the db.Its workin perfectly well but i want to have a textbox to search and display the records in the datagrid.I guess the change event will come in handy.I really dont know how to go about …

Member Avatar for tscpb
0
153
Member Avatar for teklu

Hi I want to draw a stroke line starting from point (x1,y1)to another point (x2,y2) If any help .

Member Avatar for teklu
0
108
Member Avatar for quintoncoert

i hope that this does not sound like a silly question but can someone please tell me why we return an integer from the main method in c++? if program execution starts and ends in main then what is the point? main calls other mothods and receive return types so …

Member Avatar for Salem
0
619
Member Avatar for Jackson776688

Hey guys, I'm currently in the design stage of a database, and have a question of how the keys should be set up in two of my tables. I have an Orders table, which is related to a Customers table, and also to an Images table. The orders table has …

Member Avatar for debasisdas
0
89
Member Avatar for muruganasm

hi i am install php in my pc. but it is not working i dont know what is the problem. kindly reply me...

Member Avatar for javedkhan
0
88
Member Avatar for assgar

Hi I am not sure I am approaching this correctly. I need to increment the appointment time by 15 mins for each loop. This is would be the correct result: 13:00, 13:15, 13:30, 13:45, 14:00, This is what I am getting: 13:15, 13:15, 13:15, 13:15, 13:15 The user selects the …

Member Avatar for dr4g
0
1K
Member Avatar for lollerskates

Hi there Cool forum! I'm just looking for some advice. I'm designing an interface for a public display as well as an admin interface that will control the output for the display. The display will feature text, images and video - both normal video files and live streamed video. The …

Member Avatar for thekashyap
0
105
Member Avatar for tyroTechie

I have been assigned to develop an application for a roll maintenace shop in a hot rolling mill. THE PROCESS: ROLLS are used for rolling of hot slabs into coils, plates etc. Certain roll attributes are significant for the rolling process, such as - Material - Diameter - Roughness - …

Member Avatar for thekashyap
0
86
Member Avatar for Mr.UNOwen

So I'm creating a game that I want to be able to add more characters in without recompiling the whole thing. Is there a way java automatically detects classes or is there a way I can access a class at runtime by a string so that I can just read …

Member Avatar for thekashyap
0
86
Member Avatar for RohitSahni

Hi All, [code] In file included from ../../incl/_Components/DbRes.h:7, from DbRes.cc:1: ../../incl/_Components/IniReader.h:79:8: warning: extra tokens at end of #endif directive /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/crt1.o(.text+0x5c): In function `.nope': : undefined reference to `main' /var/tmp//ccA4edOw.o(.text+0x84c): In function `DbRes::Lock::Lock(String const&, String const&)': /home//Developer/__local_unix/_/lib/_Components/DbRes.cc:65: undefined reference to `String::String(char const*)' /var/tmp//ccA4edOw.o(.text+0x8c4):/home//Developer/__local_unix/_/lib/_Components/DbRes.cc:65: undefined reference to `String::~String()' /var/tmp//ccA4edOw.o(.text+0x8e4):/home//Developer/__local_unix/_/lib/_Components/DbRes.cc:65: undefined reference to …

Member Avatar for thekashyap
0
116

The End.