132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pardeep3dec

Dear Experts, good morning, I am working on a project. In which i am unable to send data on a particular ip in 8 bits unsigned integer kindly guide me. I have to send st first 2 bits unsigned integer then 8 bits unsigned integer. e.g. i have to send …

Software Development visual-basic
Member Avatar for pardeep3dec
0
538
Member Avatar for Harris00

Hello I have below code to draw the circle, i want to add vertical line dividing the circle half and horizontal line and cross lines like in attached document. all the lines divide the circle equally with 45 degrees angle. I really appreciate the guidance from turtle import * r=100 …

Software Development python
Member Avatar for richieking
0
1K
Member Avatar for hobokook

Hi, I have an assignment where I have to implement a singly linked list of integers. Can you look at my pop front function below to see if it would work. I think it works, but I get this weird error whenever I test it. Also, how would I do …

Software Development c c# c++ linked-list
Member Avatar for group256
0
181
Member Avatar for Nemo_NIIT

Hi, i am using c# window application I have create one Login Form. I want that when user put its username and password first it should check in the database and then it should give the out put. i have even create on signup form first it should be register …

Software Development sql
Member Avatar for ashishkumar008
0
107
Member Avatar for George2

Hello everyone, Please look at the following code block, [code] public void Foo() { synchronized (lock) { //do task 1 try { lock.wait(); } catch (InterruptedException e) { // TODO Auto-generated catch lock e.printStackTrace(); } //do task 2 } } [/code] Suppose multiple threads have entered the synchronized block one …

Software Development java
Member Avatar for anand.g
0
185
Member Avatar for Dink3465

Hello, I am currently assigned a project to simulate a carwash in C++ using a priority queue and a heap. Basic synopsis: 1. a car enters the carwash. 2. if there are no parking spaces the car departs (must keep track of number of cars that depart without getting a …

Software Development c c# c++ operating-system queue
Member Avatar for Dink3465
0
643
Member Avatar for yongj

This is a pretty tough one in my opinion... I have 4 parallel arrays, each increasing as lines are being read from a text file. The four arrays are booktitle, retail value, books on hand, and books on order. I have to find a way to sort all four arrays …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
460
Member Avatar for tech9x

[CODE=C++] 1. //my main 2. int sizeOfArray; 3. 4. int main() 5. { 6. int i; 7. int *num1, *num2, *num3, *num4, *num5; 8. string *opening, *ending; 9. cin >> sizeOfArray; 10. command = new string [sizeOfArray]; 11. opening= new int [sizeOfArray]; 12. num1= new int [sizeOfArray]; 13. num2= new …

Software Development c++
Member Avatar for jonsca
0
103
Member Avatar for inahrun

hi! having issue with duration time in crystal report. i want to sum duration time 0:48 1:05 2:00 0:45 I want to sum the time in crystal report.The sum of the time should be 4:38 not 3:98. Please help.Thanks in advance

Software Development visual-basic
Member Avatar for AndreRet
0
140
Member Avatar for TheDocterd

Hi there I have a problem. My code works perfect, but now I want to, instead of displaying multiple sheets, display all data in one sheet. Below is my code I used: [ICODE] Private Sub Picture2_Click() Screen.MousePointer = vbHourglass Dim tempAss As String Dim xlApp As Excel.Application Dim wb As …

Software Development visual-basic
Member Avatar for AndreRet
0
145
Member Avatar for Nirvin M

I am developing a science application on VB.NET. I want the controls to be edited, resized, and drag & dropped (like in Visual Studio IDE) by the user during runtime. How to achieve this functionality? Please help...

Software Development ide vb.net visual-studio
Member Avatar for Netcode
0
106
Member Avatar for Mike Bishop

Evening All, i am trying to input 72003 3131/1 from text from a text field into sql as a string. I have the following code but getting an error Error while inserting record on table, incorrect syntax near '3131'. the end user will be able to change this text to …

Software Development open-source sql vb.net
Member Avatar for Netcode
0
91
Member Avatar for yongj

I have a textfile I need to open and I need to put each line into the array. What is the simplest way to add the elements/each line's data into the array while increasing the array as it reads each line? This is blowing my mind right now... I thought …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
11K
Member Avatar for cavern

hello everyone i need help about msgbox "Insufficient Data" coding. below is my coding: [CODE]Private Sub cmdSave_Click() On Error Resume Next Adodc1.Recordset.AddNew Adodc1.Recordset!Dateregistration = txtDate.Text Adodc1.Recordset!Title = cmbTitle.Text Adodc1.Recordset!Name = txtName.Text Adodc1.Recordset!Ic = txtIc.Text Adodc1.Recordset!Email = txtEmail.Text Adodc1.Recordset!Phonenumber = txtPhone.Text Adodc1.Recordset!Address = txtAddress.Text Adodc1.Recordset!Address1 = txtAddress1.Text Adodc1.Recordset!Residential = cmbResidential.Text Adodc1.Recordset!Gender …

Software Development visual-basic
Member Avatar for cavern
0
207
Member Avatar for takercena

[CODE] for(int x = 0; x < w; x++) { for(int y = 0; y < h; y++) { int rgb = bimg.getRGB(x,y); //byte r = (byte) ((rgb & 0x00ff0000) >> 16); //byte g = (byte) ((rgb & 0x0000ff00) >> 8); //byte b = (byte) (rgb & 0x000000ff); pixels[x][y] = …

Software Development image java
Member Avatar for masijade
0
298
Member Avatar for tech9x

here is my outline of code: [code=c++] void apple() { cin >> price[i]; cout << price[i]; //give out correct value } void orange() { cin >> price2; cout << price[i]; //mess value (like 65534 or 9460301) } int main() { string *fruit; int *price; fruit = new string[n] price = …

Software Development apple c++
Member Avatar for tech9x
0
145
Member Avatar for xtianenikkian

[CODE]Dim MyTime As Date, DataTime As Date MyTime = Format(Now, "hh:mm:ss") DataTime = 'Get the time from your database here If MyTime > DataTime Then ' Code to Open Door Else Code To Close Door End IF[/CODE] im having a hard time with SQL, please help with the codes of …

Software Development open-source visual-basic
Member Avatar for AndreRet
0
136
Member Avatar for mca.narender

what is msvcrt_x64_vc8.lib and what is ther role of this file in visual studio and how can we add and get this lib file. I am converting 32 bit application into 64 bit. Is this file help me or not? Thanks

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
106
Member Avatar for colmar

Is it possible to store photographs within a database made with the visual data manager?

Software Development visual-basic
Member Avatar for AndreRet
0
114
Member Avatar for mca.narender

Hi, I am converting a vc++ (32bit )application in 64bit application. I am totally new on VC++. Please give me your valuable advice and solution. If you tell me the step of converting of 32bit applicaton to 64bit application then it will be greate help. i got following error while …

Software Development c++
Member Avatar for Ancient Dragon
0
185
Member Avatar for bkoper16

I am doing a project where i have to insert a list of players and stats into a binary search tree Here is the project description For this final assignment, you will be creating a binary search tree. You will be able to utilize some of your previous assignment code, …

Software Development c data-structure programming-construct seo
Member Avatar for bkoper16
0
880
Member Avatar for chode1

its says that lastfile is undeclared #include <iomanip> #include <iostream> #include <fstream> #include <string> using namespace std; //void displayData(ofstream &, item_info[], int, int &); struct item_format { string ID; string item_name; int current_stock; int ordered_stock; float retail_price; float selling_price; }item_info[30], greeting_cards, note_cards, calendars, pens, candles, wind_chimes; void enterData(ifstream &, item_info[], …

Software Development c++
Member Avatar for jonsca
0
145
Member Avatar for The Bug

Hello all, I'm a new guy on this block <bowing> I have completed my "Advanced" VB.NET class this year, yet I still feel no more evolved than a newbie. So please please - be gentle <Grin> My question involves the creation of the actual database file. I have played around …

Software Development vb.net
0
64
Member Avatar for metalstorm

I have a tcp client - server implementation running in the same program, on different background worker threads. There will be instances of this program on multiple computers so they can send and receive files between each other. I can send files sequentially between computers using network stream, but how …

Software Development client-server file-stream
Member Avatar for Diamonddrake
0
313
Member Avatar for Jtibs

Hello, I am trying to write a MIPS program that uses a function call to return the index of the smallest character within an array. I have my code set up in a way I thought would be correct, but when I try to test it seems to not even …

Software Development assembly
0
132
Member Avatar for masamune

Hello there Can anyone lend me a hand with this question? i'm seriously not looking for anyone to solve it for me, just a simple explaination will do. I'm having trouble knowing where to start, im just a beginner and this question really caught me by surprise, I don't even …

Software Development java
Member Avatar for jon.kiparsky
0
108
Member Avatar for Syrne

Hello there! So I have an assignment where I am given a text file with customer information that I need to convert into a "label" format. The original file has caret (^) symbols marking the different lines to be organized. I have the input totally finished, the only thing I'm …

Software Development c++ file-system
Member Avatar for Syrne
0
157
Member Avatar for harikrishna439

Can we print rational numbers instead of decimal ratios? for example, a=3; b=4; if we print a/b, we have to get 3/4 instead of 0.75

Software Development c
Member Avatar for sharathg.satya
0
111
Member Avatar for jtaylor1120

This is for a challenge I must do. It is two forms. I have it almost done, but my second form is not giving me a total. I can't figure it out. Thanks in advance!! Here's the code: Main form 1 [code] Public Class MainForm1 Private Sub MainForm1_Load(ByVal sender As …

Software Development vb.net visual-basic
Member Avatar for manshipboy
0
2K
Member Avatar for Zealhack

The code below just makes it have one letter/number per line then it forms a new line, but I would like to have the numbers on each line and only form a new line everywhere there is a comma. Is there a way to do this? Thanks! [code] def hyp(aFile, …

Software Development python
Member Avatar for Zealhack
0
183
Member Avatar for mscutie33

Hi, I created a data file, which seems to work perfectly, but as far as reading it into an array is where I get stuck. It should be 20 random #s 1 to 99 read into this array in a single line. In my data file, they are all on …

Software Development c c# c++ file-system
Member Avatar for mscutie33
0
2K
Member Avatar for MasterGberry

I seem to be having an issue with using multiple class constructors? I did it for one other program and didn't have an issue. I can't seem to find the bug. Since it is complaining about multiple constructors it won't let me make Plorg1 in the 3rd set of code. …

Software Development c++
Member Avatar for MasterGberry
0
148
Member Avatar for terabyte

How can I print some numbers during a loop for example I have a while loop, and while the loop is running i want to print the numbers of times the loop has been repeated.

Software Development perl
Member Avatar for terabyte
0
114
Member Avatar for Martje

Hey, i have a CLR proyect where i have 2 forms, i am trying to acces the form1 class via form2. what i did is that i included the header.h of the form in form.h but it failed so i went back and icluded thesame folder both of them are …

Software Development c++
Member Avatar for jonsca
0
86
Member Avatar for tallyhop

I need to take the username entered by the user and compare it to the array to locate its position in the array then compare the password and pin entered by the user. I followed tutorials on how to write the linear search function(I do have to use a linear …

Software Development c++ visual-studio
Member Avatar for tallyhop
0
163
Member Avatar for baldwindc

I have been struggling with this for a while. Will someone please help me? The issue is within a while loop. The while loop is reading info from getline, copying values from an input file to (1)double array type char[i][20] , (2)array type double [i]. The input file is as …

Software Development c++
Member Avatar for arkoenig
0
1K
Member Avatar for tshudyb

I have created a JFrame contaning a JTabbedPane. What I am trying to accomplish is the changing of tabs within my 'addCustomer()' class via an ActionListener. What I was trying was to call the method 'setTab(int c)' located in my 'BoatLog()' class, from my 'addCustomer()' class to set the index …

Software Development java java-swing oop
Member Avatar for tshudyb
0
1K
Member Avatar for bretthay93

write a program code thathas two functions: first() and second(). Function first() should print the string "in function first()" and then call function second()> functions second() should print the string "in function second()". in the global scope, you should call function first.

Software Development python
Member Avatar for WildBamaBoy
0
149
Member Avatar for nickx522

I have an array of numbers and i have to find lowest and highest and drop them. When i display the numbers on my output screen it has to display HIGH for highest and LOW for lowest instead of the actual numbers. this is an int array so clearly i …

Software Development c++
Member Avatar for nickx522
0
107
Member Avatar for jae5086

The purpose is to enter menu items and their calorie content [done, works], sort the array [done, not tested], and use a binary search to recall the array [errors]. The following are the [I]current[/I] errors I get. My big issue, I think, is trying to get the right info into …

Software Development c++
Member Avatar for jae5086
0
151
Member Avatar for t_mac219

Hey guys. I'm writing an heap-sort algorithm (code is below) but for someone reason my restore_heap function is incorrect somewhere. I understand how the algorithm is working. do y'all have any suggestions? #include <iostream> #include <stdio.h> #include <vector> #include <cmath> #include <ctime> #include <algorithm> using namespace std; # if 0 …

Software Development algorithm c++
Member Avatar for t_mac219
0
134
Member Avatar for batuzai04123

Hello! It is my first time to post this thread, So I hope it is in the right place. My problem is that I am creating system tools for windows with a good gui and I don't know how to start with it. One of my difficulties is making code …

Software Development gui hard-drive vb.net
Member Avatar for batuzai04123
0
342
Member Avatar for chode1

#include <sstream> #include <iomanip> #include <iostream> #include <fstream> #include <string> using namespace std; struct format { string ID; string item_name; int current_stock; int ordered_stock; float retail_price; float selling_price; } greeting_cards, note_cards, calendars, pens, candles, wind_chimes; int main () { string line; string data[6]; int datacounter = 0; string substr = …

Software Development c++
Member Avatar for chode1
0
82
Member Avatar for tallyhop

I am working on reading data from a file into a struct array. The first line of the file tells how many users there are, then the following lines are the username, password, and a pincode.So the file is setup as follows: 15 mah123 happy 1234 bah123 moody 4567 ...etc …

Software Development c++ file-system
Member Avatar for tallyhop
0
466
Member Avatar for gizmo7008

First off, I know I have a few other errors besides the sorting code. I am working on figuring those out as well. I need to sort the names in the file alphabetically. I did put a code which I thought would work, but doesn't. Lines 39 through 50. [CODE] …

Software Development c++ file-system
Member Avatar for gizmo7008
0
115
Member Avatar for Chocolatemoon

I have made a program that uses struct where a user can input a grade,average, and their name. I am trying to make it so their can be three students each with a grade average and name but I can not figure out how to make a loop so it …

Software Development c++
Member Avatar for Chocolatemoon
0
167
Member Avatar for stevetaylor15

Hi i have a string array, such as: [CODE] string[] test = {"one@test.com","@test.com","@contoso.com"} [/CODE] And I want to modify values only where the address has no first portion that is "@domain.com", so the example return would be: [CODE] string[] test2 = {"one@test.com","*@test.com","*@contoso.com"} [/CODE] ANy ideas how to do this please?

Software Development c c# c++
Member Avatar for stevetaylor15
0
7K
Member Avatar for yogibear13

Hello there, This is my first time posting on these forums. I was wondering if I could please get some help, there is a minor glitch in my code but I cannot figure it out. Basically, I have to create a class called XYPoint, and according to given criteria, have …

Software Development c c# c++
Member Avatar for SgtMe
0
191
Member Avatar for arsnic

Ok, I'm not new to C++ but I am used to running a g++ compiler vs Microsoft's VS C++. I understand what this error should mean. It should mean that I'm missing a ';' on the line before or in the class Polygon. I can't seem to find anything wrong. …

Software Development c++ file-stream storage visual-studio
Member Avatar for arsnic
0
587
Member Avatar for gpjacks

Im into the last stages of my C++ class and am having trouble with a project that has been assigned. Here is the problem and thanks in advance for whoever helps out! Declare an object of type bucket 1). Use the SetGallonSize() method to set the bucket size to 5.0 …

Software Development c++
Member Avatar for Fbody
0
126

The End.