132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MasterHacker110

I am working on a little hobby project, it reads user input and then stores it in a pointer to char array. The problem is that the output is not correct. So i dont know if it is the output, or the storing that is wrong. I am used to …

Software Development c
Member Avatar for MasterHacker110
0
323
Member Avatar for BERIHUN

write a c++ project of scientific calculator

Software Development c++
Member Avatar for Alberto Bucur
0
207
Member Avatar for Learner010

hello , today i read about barcodes and QRcodes . well i see barcodes / QR codes and often see them on almost every product. But as a programming learner , i wanna know about what they represent ?, how they are created(with which information) ?, how they are read …

Software Development vb.net
Member Avatar for Pregger
0
209
Member Avatar for enrique.mansilla.908

Hello, I attached my solution so far. I dont know how to create a collection within the code and read it from the .txt file. I seriously have tried and just need to know how to create the Inventory Collection so it reads throughout the code. Please help. Project : …

Software Development display gui vb.net
Member Avatar for enrique.mansilla.908
0
193
Member Avatar for nouth

First am I missing any other notable ones? I only want to know about crossplatform standalone source-based modules, so no Gui IDEs. Tkinter Pyjamas wxPython PyGObject (Gtk's successor) Qt I already know that `Tkinter` is the default so it is the obvious choice for crossplatform because of its licensing and …

Software Development apple gui open-source python qt tkinter
Member Avatar for ZZucker
0
361
Member Avatar for ChadSauce

Hey I'm just wondering how to make pop-up windows in tkinter.

Software Development microsoft python tkinter
Member Avatar for ZZucker
0
282
Member Avatar for Vegito1991

I have assigned to create a multichat application that require to public message to all client, private message to certain client and show the user list, anyone can tell me which part should i do to implement private msg and online user list (where will show the name after client …

Software Development file-stream java java-swing
Member Avatar for stultuske
0
2K
Member Avatar for silverdust

I have tried a written a code like so re.findall(r'[A-Z]{3}[a-z][A-Z]{3}',string) to find the solution for this python challenge http://www.pythonchallenge.com/pc/def/equality.html it seems so hard to figure out. I'm getting 527 matches and none takes me to the next level. Help or close hints will be appreciated

Software Development python regex
Member Avatar for silverdust
0
439
Member Avatar for Jonathan_5

#include <stdio.h> void function1(void); void main () function1(); } void function1(void) { int a; int b; int c; int d; int i=0; int rooms; printf("enter number of rooms\n"); scanf("%d",&rooms); do { printf("Enter the price per meter of the tiles\n"); scanf("%d",&a); printf("Enter the length\n"); scanf("%d",&b); printf("Enter the breath\n"); scanf("%d",&c); printf("Enter the …

Software Development c
Member Avatar for Hiroshe
0
102
Member Avatar for Ganesh_7

I want to check the perticular cell of the grid is focused or not, Which method will help me?

Software Development c++
Member Avatar for Ancient Dragon
0
106
Member Avatar for micca.jhai

I am trying to update some records.The moment the line Adodc2.Refresh executes, I get an error message saying that the "Operation is not allowed when the object is closed" Yet, when I put "On Error Resume Next", it updates the records as I want it to. Please help me thank …

Software Development cybersecurity visual-basic
Member Avatar for Aslam Mansoor
0
546
Member Avatar for HR09

Hi guyz ! i'm HR .. does anyone know what's the code for printing using ADODC connection in VB6.0 ? I wanna know because I'm working on some system with a printing command so I hope anyone will give me answer .. Thank you in advance !! :)

Software Development visual-basic
Member Avatar for Aslam Mansoor
0
87
Member Avatar for Sushma Somesh

Hi, I have one more issue.. tht after searching part number in datagrid, it will display the searched item in same datagrid. After tht i want to refresh the datagrid with completely. can you please help me on this. Sushma.s

Software Development display seo visual-basic
Member Avatar for Aslam Mansoor
0
183
Member Avatar for eldesperado

#include <stdio.h> #include <stdlib.h> #include <string.h> FILE *data; struct node* L = NULL; struct nodeMail* M = NULL; struct nodeNr* N = NULL; struct nodeMail { char email[20]; nodeMail* next; }; struct nodeNr { char numri[10]; nodeNr* next; }; struct node { char emri[10], mbiemri[10]; nodeMail* email=NULL; nodeNr* numri=NULL; int …

Software Development c
Member Avatar for GiantBy
0
189
Member Avatar for Auroch

Hello everybody! I'm trying to display the result of difference of two-dimensional vectors using friend overloading. Builder shows the following error after compilation (line 40). What should I change for in my code in order to find the problem? Thanks in advance. **[C++ Error] 05_Part.cpp(40): E2034 Cannot convert 'double' to …

Software Development c++ os-x
Member Avatar for Auroch
0
247
Member Avatar for Krootushas

Hello. I would like to temporarelly store incomming win32 messages in a buffer. Then process all messages from that buffer manually. I actually have successfully stored and processed meesages in a buffer but I dont know if this is a best solution for my problem. LRESULT CALLBACK WinProc (HWND hWnd, …

Software Development c++
0
165
Member Avatar for 영휘

#include <stdio.h> void Merge(int *, int, int, int); void MergeSort(int *array, int left, int right) { int mid = (left + right) / 2; if (left < right) { MergeSort(array, left, mid); MergeSort(array, mid + 1, right); Merge(array, left, mid, right); } } void Merge(int *array, int left, int mid, …

Software Development c
0
88
Member Avatar for moaz.amin.37

postfix and prefix increment or decrement operators very very confusing for me i try my best but i can not understand the basic different between them plz help me i know The prefix form first performs the increment operation and then returns the value of the increment operation. The postfix …

Software Development first-post java
Member Avatar for sepp2k
0
473
Member Avatar for getnit

I am trying to establish a pause and play communication between threads.I am spawning two threads for two forms at the startup, one is the mainthread which is for mainwindow and second thread of form2, var thread = new Thread(ThreadStart); thread.TrySetApartmentState(ApartmentState.STA); thread.Start(); private static void ThreadStart() { Application.Run(new SecondForm()); // …

Software Development asp.net multithreading
0
147
Member Avatar for Lalise

woud you show me how to draw table using C++ Code?

Software Development c++
Member Avatar for Alberto Bucur
0
118
Member Avatar for GagaCode

hi all; again i have a little bit wired problem here what i'm trying to achive here is that i would like to to a search query to search an employee and after that change the depatment and after that update the data into access database and as you can …

Software Development microsoft-access open-source seo
Member Avatar for arunkumars
0
426
Member Avatar for Trevor_3

Hi All I have to forms (frmMain & frmEditMonth). frmMain has a tabControl on the 12 tabs (1 for each month) and a datagridview showning the days and the times and hours worked frmEditMonth (used as a edit Dialog pop-up) allows the user to edit the hours worked what i …

Software Development vb.net
Member Avatar for arunkumars
0
445
Member Avatar for james2day

write a program that dynamicall an array large enough to hold a userdefined number test score.

Software Development c++
Member Avatar for vmanes
0
113
Member Avatar for Slavi

Some time ago, I wrote some code, which uses DFS to find whether there is a path from a source vertex to a destination vertex. However, I am thinking now what if there is more than 1 possible way? What comes to my mind is save paths in an ArrayList …

Software Development display java seo
Member Avatar for Slavi
0
1K
Member Avatar for moodyR

Write a class Date which consists of: Member variables: day, month, and year Member function DaysSinceFirstJan1() which returns the total number of days since 01-Jan-0001. Now write a main function which asks the user to enter 5 dates (day, month, year) which are stored in an array of objects of …

Software Development c++
Member Avatar for ddanbe
0
227
Member Avatar for Doogledude123

**Sudoku Solver** I am writing a program to solve Sudoku Puzzles. This thread will contatin my progress throughout the project and hold any questions and replies.

Software Development java
Member Avatar for JamesCherrill
0
876
Member Avatar for moaz.amin.37

what is command line argument in java and how it is work public static void main(String []args){ for (int i = 0; i < args.length; i++) System.out.println(args[i]); and what is .length in upper code. is it function no it is not function is it class no it is not a …

Software Development java
Member Avatar for stultuske
0
518
Member Avatar for cd88

Hi, I am stuck with this logical error and I was hoping someone could point me in the right direction. When I debug this program the array's do not contain the data from the textboxes that the user enetered. as far as I know the code is in the correct …

Software Development ide storage visual-basic
Member Avatar for cd88
0
273
Member Avatar for Awais ramzan

You have to develop an electronic lunch menu for UCP executive lounge. Dynamically create a character 2D list with the name , space and price of different items as shown below. Assume that your price do not exceeds Rs 255. Coke 40 Fanta 40 Cupcake 40 Tea 10 Coffee 40 …

Software Development c++
Member Avatar for Akash_Soni
0
221
Member Avatar for boka123

The program should insert a node that is a sum of next 2 nodes stdin: 2->7->4->9; stdout: 2->11->7->13->4->9; The program returns a segmentation fault,I'm not sure what seems to be the problem. void insert(Node * list){ if (list==NULL) { return; } for(; (list->next->next)!=NULL ; list=list->next){ Node* new=(Node*)malloc(sizeof(Node)); if(new == NULL) …

Software Development c linked-list
Member Avatar for Akash_Soni
0
172
Member Avatar for Jean-Luc

Is it possible to dynamically use scanf to prompt for user input ? I have the code shown below scanf("%d %d %d %d", &myarray[row][0], &myarray[row][1], &myarray[row][2], &myarray[row][3]) which works fine when the number of columns is fixed but in my case it is not !

Software Development c
Member Avatar for Akash_Soni
0
340
Member Avatar for soche123

hi guys, hope you are doing very well. I've been working on a program that if I enter lowercase letters in one textField the other should display it in capital letters with the help of Event Handling but I am constantly getting these two errors. I'm a beginner so would …

Software Development java
Member Avatar for JamesCherrill
0
266
Member Avatar for RALTzzz

Can Someone help me to Create a program that receives a character and returns true if a character is a VOWEL and false otherwise.

Software Development c++
Member Avatar for Avishek_1
0
318
Member Avatar for jj.dcruz

how do i insert the textboxes with different data inside of them in one database table i have this code dunno what to do next Private Sub btnadd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnadd.Click Dim sql As String Dim totcount As Integer = 0 Dim inc As …

Software Development mysql vb.net
Member Avatar for jj.dcruz
0
202
Member Avatar for Youssef Mahran

Hello every one . . recently i have written this code to count letters and words in the phrase that the user enter , it worked once but when deleted (by mistake) and tried to rewrite it again it didn't work , so could you please help me to find …

Software Development c++
Member Avatar for Youssef Mahran
0
123
Member Avatar for edygraca

Hello guys, How to Eliminate ifs and elses using polymorphism, so that the code is more compact and easy to understand. public void update( ){ // is its dead it does nothing if( dead ) return; // see what movement it is doing int dy = rising? -6: 6; if( …

Software Development java
Member Avatar for JamesCherrill
0
176
Member Avatar for aanchal_1

this program is simply for recording data of various staffs.Inheritance has been used for taking additional data.Staff is the base class.the classes officer,typist and teacher are the derived classes.again the classes regular and casual are derived from the class typist. **now my problem is that whenever i call the constructor …

Software Development c++ oop
Member Avatar for aanchal_1
0
281
Member Avatar for nouth

path = './file.txt' os.remove(path) import os `os.remove(path)` is equal to `os.unlink(path)`, so how can I delete the file if it just becomes unlinked? Also I haven't tried to yet, but does `'./file.txt'` work as is or do I must provide the full path? Or do I just need to use …

Software Development file-system python
Member Avatar for Gribouillis
0
266
Member Avatar for LVZombie

Hello all, I am working on assignment for class and I thought I had this one but something is wrong. This is an inventory control program that needs to display 7 items with the item number, name, number in stock, price and value. The program works for item 7 but …

Software Development java
Member Avatar for LVZombie
0
584
Member Avatar for Satyam_1

Hi, I have an vb.net application linked to Oledb database. here is my code in Button_Click event to prevent duplicate entry with same ID, ID is not the primary key in database. Although it shows "Record Already" Exists", but I am not able to save data with new ID, to …

Software Development open-source vb.net
Member Avatar for Satyam_1
0
463
Member Avatar for jj.dcruz

hi there im a total newb at this programming language is there a way 3 databases can be in one datagridview? I can only insert 1 database in a datagrid

Software Development asp.net vb.net
Member Avatar for deceptikon
0
238
Member Avatar for nahashon

how can you write a program that returns the last integer of the inputted number from the keyboard by the user using recursion?

Software Development c
Member Avatar for David W
0
177
Member Avatar for Avishek_1

Any idea for a simple C++ project for class 12 ? I thought of and also got many ideas like railway reservation , library management , tic tac toe game , book shop management . But those are too mainstream . Anything else by anyone ? I would be highly …

Software Development c++
Member Avatar for Avishek_1
0
237
Member Avatar for Bendez Thyna

hi guzs im trying to read a file and open it when click on the button when i run.I don't know why the file didn't show up on my screen.here the code Public Partial Class MainForm 'structure of products Structure products Public nameproduct As String Public catalogcode As String Public …

Software Development file-system gui vb.net
Member Avatar for Bendez Thyna
0
305
Member Avatar for silverdust

I have been stuck on this python challenge http://www.pythonchallenge.com/pc/def/ocr.html . I am familiar with python re module and regex but I don't seem to get what the challenge wants me to do. If there's anyone else that has been there, I'll need some help

Software Development python regex
Member Avatar for silverdust
0
384
Member Avatar for Serg_zone

I'm actually astonished at the amount of time i spent trying to fix this and got absolutely nowhere in the end. I have the following app.config file i'm trying to read: [CODE] <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="BattleCity.Configuration" type="BattleCity.Configuration.GameConfiguration, BattleCity"/> </configSections> <BattleCity.Configuration> <environment> <add blockType="Test1"/> <add blockType="Test2"/> </environment> …

Software Development xml
Member Avatar for prathul.prabhakar
0
280
Member Avatar for XodoX

I have a small code utilizing a hash table. Now I want to convert it, basically, to a distributed hash table. Hoever, I can not find out how you actually code one or what changes you make to an existing hash table...??? Can anyone please help me, please? I can …

Software Development c
Member Avatar for L7Sqr
0
175
Member Avatar for sami9356

: Give at least two problems that we should check when we overloading assignemts oprater ("=") in string class?

Software Development c++
Member Avatar for mike_2000_17
0
205
Member Avatar for sileshi nibret

#include<iostream> using namespace std; struct node int data; node*next; }; node*head=0; void input_at_end(); void display (); void del(); int main(){ for(int i=1;i<=3;i++){ input_at_end(); display(); } del(); cout<<"\nafter deleting"<<endl; display(); } void input_at_end(){ node*temp; temp=new node; cout<<"enter data"; cin>>temp->data; temp->next=NULL; if(head==NULL){ head=temp; } else{ node*temp2; temp2=head; while(temp2->next !=NULL){ temp2=temp2->next; } temp2->next=temp; …

Software Development c c# c++ linked-list
Member Avatar for Ancient Dragon
0
281
Member Avatar for ShadowFox88

The system is able to find grade for each course based on final marks, calculate GPA, Calculate CGPA. Methods (menu); i. Input matric_number, name, coursecode, credithours, semester, final marks for each subject. You may use text file ii. Calculate GPA and CGPA for each student. iii. Search a student record …

Software Development java linked-list seo
Member Avatar for stultuske
0
3K

The End.