199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Karlwakim

Hi everybody, i am new to c++ and wanna know why pointers are useful ? Why would i use them ? For what ? THANKS

Member Avatar for rubberman
0
172
Member Avatar for pri20

I want to perform automatically, the windows login by passing username, password in java code.Is there any open source tool available to record the username password fields etc of the machine.

Member Avatar for NormR1
0
154
Member Avatar for slowly_but_sure

I'm creating a program in C# that do not allow intersecting lines. How will I modify my code? Thank you. I've already attached the whole source code of my program for you to check the other class I've included.But here's the code for the drawing process: [CODE] using System; using …

Member Avatar for lxXTaCoXxl
0
240
Member Avatar for a.muqeet khan

guys i was working on the link list program and its is encountring a problem its says some thing like un handled exaption handling acess writing location error i have no idea howto over come it so i thought may be u guys might help me with it here is …

Member Avatar for LRRR
0
198
Member Avatar for MargateSteve

I am trying to create a soccer results matrix from an existing database (tables and current query are at the bottom of the post) and am not sure where to start with it. It is a bit hard to explain (unless you are a soccer fan where these results matrix's …

Member Avatar for MargateSteve
0
213
Member Avatar for Morten Brendefu

Dear enlightened ones. First of all. I am using Delphi 9. My code compiles and run with no error at all, still I am confused about the structure window in the Delphi window. It tells me that I have redeclared some identifiers. The thing is that I have a few …

Member Avatar for pritaeas
0
1K
Member Avatar for Vermouth

Hi! I'm making a table. I originally have some names. [CODE] #include <iostream> #include <cstring> using namespace std; char passengerName[100][100]; void main() { strcpy(passengerName[1], "Peter Tam"); strcpy(passengerName[2], "David Morris"); strcpy(passengerName[3], "Susan Leung"); strcpy(passengerName[4], "Timothy Kin"); strcpy(passengerName[5], "Mary Poon"); strcpy(passengerName[6], "Pretty Godson"); strcpy(passengerName[7], "Tammy Leung"); strcpy(passengerName[8], "Hugh Boss"); strcpy(passengerName[9], "John Cheng"); …

Member Avatar for adityatandon
0
599
Member Avatar for Falcon25

Hi guys happy new year, hope you all have a great year ahead of you Anyway I'm a little bit stuck on a question and thought I'll ask for a bit of help: So I'm using a Windows Forms Application and the user types in some text within a textbox, …

Member Avatar for lxXTaCoXxl
0
193
Member Avatar for paresh_thummar

Hi Friends, I want to pass Array or Object as parameter in function But can't, Here is my code Please help me, [CODE] var InfoArray = new Array(); for(i=0;i<5;i++) { InfoArray['name'] = "ABC"; InfoArray['id'] = "A123"; j = i+1; $('#selectorName').after("<input type='text' id='txt"+j+"+ "onFocus=prePopulate('txt"+j+"','"+InfoArray+"','Hello','Hi');>"); } [/CODE] And Function is : [CODE] …

Member Avatar for Troy III
0
147
Member Avatar for lxXTaCoXxl

I'm trying to learn how to create plugins, the only problem is my friend only knows .NET, I know C# and can partially read .NET. Is there anyone in this section that can convert this all over to C# for me so I can truly study it? [code]Public Interface IPlugin …

Member Avatar for lxXTaCoXxl
0
193
Member Avatar for abhishek_s_n

Here is a simple code of chat between two peers. According to me, the code does what it should have but I am facing difficulty solving this SocketException error. This code worked fine till i made the last modifications. And now I am finding it difficult to trace the error. …

Member Avatar for abhishek_s_n
0
291
Member Avatar for lxXTaCoXxl

I'm having trouble getting intellisense to show my summaries of my methods and variables. I have a DLL that I will be releasing to my developer team soon and without the intellisense working they won't know 100% what everything is for. They will just have a simple hint from the …

Member Avatar for thines01
0
110
Member Avatar for lastgame2007

please take a look at my code, what i want to happen is this, 1st, i want to pass the ID of the selected student from the other page, which can be updated or removed in the process... which i can't , do it.. anyone can help me with this! …

Member Avatar for diafol
0
136
Member Avatar for SagarSe7en

Hello Guys! Im developing a Quiz System for a game which i LOVE alot. Have done most of the work but still need some help from you guys! Problem faced is when the contestant answers it correctly the counter is not incremented and they are refusing to be passed into …

Member Avatar for SagarSe7en
0
248
Member Avatar for erik216

As I don't know how many column for table So I only can write a stupid script when the value is not null. Then show the value Does anyone have a good idea for write a simple script to implement this request. [CODE]foreach ($pl_width_arr as $pl_width_arr[$pl]){ if ($pl_width_arr[$pl]['family_code'] == $family_code_eng) …

Member Avatar for diafol
0
136
Member Avatar for glut

Hey, I have a question on fwrite. I know that fwrite can write things to your server, for instance, but when I put try to write C:\foo.txt, will this actually save it to my server, or to the clients computer? If not, then is there any way that I can …

Member Avatar for diafol
0
116
Member Avatar for HASHMI007

[CODE]// Sorting Techniques.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<iostream> using namespace std; void Bubble(int x[],int n ){ int temp , j , pass; int flag=1 ; for(pass=1;pass<n-1 && flag==1;pass){ flag=0; for(j=0;j<n-pass-1;j++){ if(x[j]>x[j+1]){ flag =1; temp=x[j]; x[j]=x[j+1]; x[j+1]=temp; } } } } // Env\d …

Member Avatar for HASHMI007
0
136
Member Avatar for spach79

Hello, Could you please tell me since I spent so much time on this, how to create multiple text boxes based on the selected combo box value (eg. 1,2,3,4,5....). I tried for loop but I only get one text box created. Basically if I select value 4 from the combo …

Member Avatar for link_umer
0
190
Member Avatar for shandoosheri

Hi guys I need a little help in viewing all .txt files in a folder in a thumbnail view and allowing the user to open it in the default txt editor Any help would be appreciated Thank you

Member Avatar for hericles
0
192
Member Avatar for Virangya

hi, my $.post code returns a whole page i want to get only content inside a id from that . this is my code it alerts null. what's wrong with it..? [CODE] $(document).ready(function(){ var url_select_file = "index.php"; $.post(url_select_file, { component: "tinymce_details", action: "selecticondata" }, function(data){ //alert(data); alert($(data).find('#ContentPane').html()); } ); [/CODE]

Member Avatar for link_umer
0
1K
Member Avatar for rainny

Hi, Do you guys have any idea on how to implement a page which contains a lot of buttons, then after click the button will show the table? After onclick event, then show the tables? And the property inside the table also will consists of the onclick event. Which able …

Member Avatar for link_umer
0
70
Member Avatar for agent154

I've never used XML schemas before, though I know what their purpose is for. I did some research into how to write one, and I've got everything done I think. The problem is that I don't understand the purpose of a namespace, or if I even need to use one …

Member Avatar for hericles
0
239
Member Avatar for MJRdz

Hi there... I'm using a tool called Infragistic's UltraWebGrid, and I have an asp menu, so, when I put the cursor over the menu, it displays its children, but the problem is that they are overlayed by the UWG, does anyone know how to fix this? If I'm not being …

Member Avatar for hericles
0
137
Member Avatar for hadoque

I'm trying to understand socket programming in python by experimenting a little. I'm trying to create a server that you can connect to by telnet and that echoes what you type in the telnet prompt. I don't want to start using threads just yet. This is my code. [CODE]import socket …

Member Avatar for hadoque
0
9K
Member Avatar for Hendo

I'm trying to make a simple login page to grant access to my form pages. I don't want anything fancy, just a simple name and password match to grant access. What I have grants access no matter what is typed in, and I don't understand why. Any help would be …

Member Avatar for EnjoyYourMeal
0
262
Member Avatar for Smartflight

The aim is simple: Input a string from the user, input a word that is to be searched in the string, and return "Found" or "Not found" I have worked down the following code, and it works. [CODE]#include <iostream.h> #include <stdio.h> #include <string.h> void main () { char para[200], word[20]; …

Member Avatar for Smartflight
0
15K
Member Avatar for Labdabeta

I need to know where to find a tutorial on javascript assuming javascript is what I need. I want to make a dynamic website with buttons that can toggle visibility of text. Really I just need something like a link that makes a bunch of text appear then disappear but …

Member Avatar for Fest3er
0
376
Member Avatar for violaceous

I have a function (myError) that causes a message to pop up whenever you do anything... either, confirming your actions "Email has been deleted!" or telling you that something didn't work "You don't have enough money for that item!" Problem is, I'm trying to re-design my layout, and the error …

Member Avatar for violaceous
0
152
Member Avatar for ebc3142

Hi, For a homework assignement, I'v been asked to write a small school administration system. Currently, the user is able to enter a new student and their age which is then stored in a text file. This all works fine but now I need to load the contents of the …

Member Avatar for Morten Brendefu
0
633
Member Avatar for Dmiller071

Title says it all. I'm loading my image with the statement below [CODE] //logo = getImage(getDocumentBase(),"http://fromdustelune.com/FD_Logo.png"); logo = getImage(getDocumentBase(),"FD_Logo.png"); [/CODE] *The commented one won't work until I sign this applet (or so I believe that's how it's done* Then I call the paint method: [CODE] public void paint (Graphics g){ …

Member Avatar for NormR1
0
220
Member Avatar for mKorbel
Member Avatar for champmanking

I am trying to code a comment system where I can leave comments on all pages. Every page has its own id. I would like a comment box where I can add and see other comments already posted. This is my code thus far: db table [CODE]`id` INT AUTO_INCREMENT, `page_id` …

Member Avatar for EvolutionFallen
0
266
Member Avatar for morfious90

how to fix windows form size for different -2 resolution's screen ?? i have made windows form in 1380*700 resolution its fix for this screen when m running it in any other screen like mine 1280 *800 some of features are going beyond the screen ... i tried t with …

Member Avatar for lolafuertes
0
1K
Member Avatar for rotten69

Hi everyone, I'm just wondering why this method below causes an infinite loop to happen. I thought it would run once and then stop. Anyone can explain this? that'll be great. [code] public String printer(String s){ if (s.length() >= 5){ System.out.println("I'm " + s + " And my length = …

Member Avatar for rotten69
0
124
Member Avatar for Cupidvogel

Hi, I am just starting to learn Python GUI programming with Tkinter. The majority of examples on net and books show the widgets and windows in typical MS Windows style (i.e the blue top border, holding the maximizing, minimizing and cancelling buttons), as shown in the first picture. Is there …

Member Avatar for Cupidvogel
0
111
Member Avatar for accra

[ICODE]Hi there, Am trying to filter results from my db, when i select a value i get no result and no error.I feel its my sql query, this is my code and form. Or if any one have a simple script that can do the same,i will be grateful, thanks. …

Member Avatar for accra
0
156
Member Avatar for R32@

Hello, My prof asked me to write a program that takes some information and save them for further uses. But I do not know how to save and keep information for a long time in java. I think I have to use arrays, but I don't know what should I …

Member Avatar for R32@
0
3K
Member Avatar for Virangya

hi, i'm working on this new system which give the option for the user to choose which system method his/her system will work on, eg: file system or database system. when installing the system they can choose the option file or database, assume that user chosed db system, later on …

Member Avatar for diafol
0
212
Member Avatar for axwell

Hy, i'm trying to get the output text from a page, but i receive the following error: System.Null.ReferenceException : Object reference not set to an instance of an object. [CODE] webBrowser1.Navigate(URL); try { string doc; doc = webBrowser1.Document.Body.OuterText; if (doc != "Invalid Arguments !") { //DO something } } catch …

Member Avatar for lxXTaCoXxl
0
242
Member Avatar for gourav1

[CODE]#include<stdio.h> unsigned long int call( unsigned long int); int main() { int t=0,i; unsigned long int n; // scanf("%d",&t); while(t==0){ scanf("%lu",&n); printf("%lu\n",call(n)); //t--; } } long unsigned int call(long unsigned int n) { long unsigned int a,b,c,x,y,z,m,l; a=n/2; b=n/3; c=n/4; m=a+b+c; if(m>n) { x=call(a); y=call(b); z=call(c); l=x+y+z; if(l>m) return (l); …

Member Avatar for gourav1
0
316
Member Avatar for animefun2

[CODE] #include<stdio.h> #define MAX 4 main() { float A[MAX]; int i; for(i=0;i<MAX;i++) scanf("%f",&A[i]); return 0; } [/CODE] im using Visual C++ and doesnt give me any compilation error it keeps giving me a run time error after i enter the 1st number i can't figure out whats wrong :S help?

Member Avatar for abhishekjha
0
259
Member Avatar for dr_iton

I need help in the following C# programming: [I]Vehicle manufacturers always offer new saving fuel cars to new drivers. The Renault manufacturer has taken this in consideration and offered new car Renault Clio to a driver Syle LeSylani for one year use. Syle has kept evidence of past kilometers at …

Member Avatar for thines01
0
143
Member Avatar for Pravinrasal
Member Avatar for Airshow
0
387
Member Avatar for abosabry_2005

Hi there, I've always been wondering what's the best way to model a one-to-many relation between two Java classes and save them into a DB. For example, Imagine we have two classes Person and Address where a person might have more than one address, we know that the best way …

Member Avatar for abosabry_2005
0
161
Member Avatar for samuel_1991

Hi, I need to use query to check if a person has made a purchase during the month of his / her birthday. If yes, I have to give the person 10% discount. So, I have my database as such (Some of the tables are omitted due to its relavancy): …

Member Avatar for noamwegner
0
284
Member Avatar for chixm8_49

Greetings! I would like to ask for some idea on how to create an image from the array of pixels that I have. The image should be in black and white (since the input image is black and white as well). Thank you.

Member Avatar for NormR1
0
3K
Member Avatar for Karlwakim

Hi everybody, i need your help choosing the best library for making GUI applications in c++ I dont want to use Visual c++. Please advise me. And where to download Qt ? Where to put the headers in order to use them ??? Note : I am using Netbeans with …

Member Avatar for Karlwakim
0
98
Member Avatar for oldezwe

I created a simple game in java. Could someone please link me to a tutorial or give me a basic run through on how to let other users connect and how to save their experience, etc... Peace and love, oldezwe

Member Avatar for Karlwakim
0
236
Member Avatar for pwolf

so im trying to make it so that pressing enter without inputting any value, will break the loop, however, an empty string can be used because of [ICODE]for i in range(len(x_str_array)): x[i] = int(x_str_array[i]) bit.[/ICODE] [CODE] 'Exercise 7.3' # modified program from exercise 7.2 a=1 z="" while x !=z: x_str …

Member Avatar for pwolf
0
212
Member Avatar for Aravind Gumataj

Please Help: I need to connect access database through code in VC++ .6 and i've to read data from edit text and compare this value to the primary key of my database. if those are matched then i need to get all data from the database and i need to …

Member Avatar for Ancient Dragon
0
269

The End.