132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 : … | |
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 … | |
Hey I'm just wondering how to make pop-up windows in tkinter. | |
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 | |
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 | |
#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 | |
I want to check the perticular cell of the grid is focused or not, Which method will help me? Software Development c++ | |
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 | |
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 | |
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 | |
#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 | |
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 … | |
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++ | |
#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 | |
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 | |
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 | |
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 | |
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 | |
write a program that dynamicall an array large enough to hold a userdefined number test score. Software Development c++ | |
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 … | |
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++ | |
**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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
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++ | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
: Give at least two problems that we should check when we overloading assignemts oprater ("=") in string class? Software Development c++ | |
#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 | |
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 |
The End.