132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kalyan_1

Could some one help me out with the basics of Structures ? How to use them in C programs ? etc.. Thanx in advance.

Software Development c
Member Avatar for David W
0
131
Member Avatar for LyingInAHammock

Out of my depth a little :-) How do I create a pair of longitude and latitudes to create a polygon showing a 2 mile radius of a particular longitude and latitude? in Java Android. I know how to find your current longitude and latitude but I just can't figure …

Software Development android-development google-api ide java xml
Member Avatar for jwenting
0
564
Member Avatar for jainasamiento

• my assignment is to find the commission of each monthly sales,how can i get the right answer? monthly sales is 0-19,999(4%)/ 20,000-29,999(5%) /30,000-39,999(6%) / 40,000-49,999(7%) 50,000-above(9%) using if/else statement then,,how can I make a flow chart related on this problem.? can you plese lead me to the right answer?

Software Development c++
Member Avatar for David W
0
267
Member Avatar for john.kane.100483

Ok so I try to do it this program by myself and I can't do it mysfelf. Im a new to this programming stuff. So I came here to ask help. Hope you can help me. My prof gave me program that will convert any base to bae 10. "Conversion …

Software Development
Member Avatar for john.kane.100483
0
737
Member Avatar for KushMishra

Hi All, I have got one scenario here in which I need to bind a DataGrid to a collection (array, ObservableCollection etc.). My Collection name is "WarningList" and the code is as follows :- **ViewModel :-** WarningList = {({result.WarningMsgCode, result.WarningColor})} **xaml :-** <data:DataGrid x:Name="gridSystemWarnings" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="3" Grid.RowSpan="2" DataContext="{Binding}" IsReadOnly="True" …

Software Development asp.net vb.net
Member Avatar for KushMishra
0
272
Member Avatar for nitin1

hi, Can anyone suggest me the approach for finding the lcm of the n numbers? my approach: find the max of the n numbers and start dividing it by all numbers , if all are dividing it then print it, else take next multiple of the max number and repaet …

Software Development c
Member Avatar for ShapesInClouds
0
3K
Member Avatar for riayas

I have 2 forms , form one has a datagrid with 10 columns form 2 has a listview box with 4 columns i want to populate the listview columns with 4 of the values from a row in the datagrid when the row is selected and the 'add ' button …

Software Development listview vb.net
Member Avatar for riayas
0
714
Member Avatar for Za3mi

Asslam-o-Alaikum friends! Friends i am a student of bscs and trying to load an image on turbo c or anyother compiler such as dev c or c free which are common in use in our university. Please suggedt me what should i do first for this purpos??

Software Development c++ image
Member Avatar for Za3mi
0
921
Member Avatar for Sumith Asanka

Hi Guys I have asp.net application there i have a dropdownlist , even if i select any item from that list when going to debug mode i always get the first list item number and index but interface shows the selected item on it , what is the reason for …

Software Development html-css
Member Avatar for wasimmalik
0
211
Member Avatar for DanJones

Hello, im trying to write a program that will read the id3v1 tag of an mp3 file, output the current information, and then allow the user to edit the ID3 tag. I can get it to output the information but I'm having some issues getting it to edit correctly. #include …

Software Development c++ ios
Member Avatar for BobS0327
0
1K
Member Avatar for Kent55

I am making a quiz for my Computer Science class where there are keywords and definitions and the user has to match the correct keyword to the definition twice and until then it keeps on going while tracking the time taken. Both the keywords and the definitions have to be …

Software Development vb.net
Member Avatar for Reverend Jim
0
358
Member Avatar for isslam.akkilah.5

am trying to read file in java but i have an issue bufferReader are stating from number 2 `public static String lineLengths() { try { String file = "C:\\\\Users\\\\isslam\\\\Documents\\\\NetBeansProjects\\\\AnimeAid\\\\tra.srt"; BufferedReader br = null; try { br = new BufferedReader(new FileReader(file)); } catch (FileNotFoundException e) { System.out.println(e); } String line; while((line …

Software Development file-system java
Member Avatar for isslam.akkilah.5
0
146
Member Avatar for brett.warren.1612

I getting an error when I try to run this function here: def get_char_out(prompt=None): while True: try: return str(raw_input(prompt + ' ')) break except ValueError: print '\nInvaild input' print get_char_out('String, please') I keep getting this error here: String, please Traceback (most recent call last): File "main.py", line 11, in get_char_out('String, …

Software Development python
Member Avatar for brett.warren.1612
0
214
Member Avatar for Tinnin

Hi all, I've bought the book "Objective-C Programming - The Big Nerd Ranch Guide" and I'm running through the beginning chapters which just regard C. I'm doing this on my laptop running linux as I don't have a Mac (yet). I'm having trouble with this code: #import <stdio.h> #include <readline/readline.h> …

Software Development c objective-c
Member Avatar for Tinnin
0
2K
Member Avatar for Amiet_1

Hey Guys hiee, I am new to VB.net. I am making an application which should run on mutiple pc. In that application there are two main accounts 1) Admin Account and 2) Other User Account. I want multiple "Other User Account" user to connect/access application simultaneously. And tell me one …

Software Development vb.net
Member Avatar for Amiet_1
0
319
Member Avatar for nyt1972

Hello, Hope this is the right place to post, I am a student and want to create an OS like DOS just for practice, I know functions, arrays, pinters, structures and file handling but dont know how to start writing an OS, please help me. Regards.

Software Development c operating-system
Member Avatar for imawesome511
0
4K
Member Avatar for jared.geli

Hi guys about my previous post on [Copy Selected rows from Datagrid to another](http://www.daniweb.com/software-development/vbnet/threads/471088/copy-selected-rows-from-datagrid-to-another) that was answered by oussama_1 and Deep Modi, I was wodering if is it possible to detect that there is a similar row between the 2 Datarids to avoid redundancy? Does it require a datatable or …

Software Development dataset vb.net
Member Avatar for oussama_1
0
139
Member Avatar for Doogledude123

So I have a button which adds a "Miner" then removes the cost of the Miner. The problem is that it is taking away too much, double the cost, and also will not buy if the current gold is equal to the cost. I have no idea why it is …

Software Development gaming java mathematics
Member Avatar for sepp2k
0
305
Member Avatar for kalyan_1

Having trouble understanding pointers . Could anyone please help me out ? thanx in advance.

Software Development c
Member Avatar for David W
0
131
Member Avatar for ajit.nayak

I am trying to create Menu Selection process.if SELECT button pressed once should display the Display parameter and if select button pressed twice should goes to Set_parameter window(Where we set parameter). once it is display parameter using up and down arrow Choose the Display window .But problem i am facing …

Software Development c
Member Avatar for Banfa
0
162
Member Avatar for vibhu mishra

i have a c code for printing all permutation of string. I have a problem in understanding ,how recursion work in for loop and how backtracking is used in this code. Another question is that how stack work in recursion under for loop. my code--> # include <stdio.h> void swap …

Software Development c
Member Avatar for David W
0
451
Member Avatar for Ezekiel_1

//my program should be able to collect two words and compare them outputing the words from word1 which are also in word2 and outputing them and viceversa. my problem is in the last four lines before the return. Please help //Program to shows analysis of texts #include <iostream> // for …

Software Development c++
Member Avatar for David W
0
527
Member Avatar for begueradj

Hello I have downloaded a source code written in C. There I found a Makefile file . Can you tell me how to run that "makefile" file from command line ? thank you

Software Development c ubuntu
Member Avatar for biswajit.jgec
0
746
Member Avatar for Dang_1

I have some errors LNK2019 with my homework, but I can't solve it. My error Error 7 error LNK2019: unresolved external symbol "void __cdecl input(int * &,int &,class std::basic_ifstream<char,struct std::char_traits<char> > &)" (?input@@YAXAAPAHAAHAAV?$basic_ifstream@DU?$char_traits@D@std@@@std@@@Z) referenced in function _main E:\Ex\Bai_1_No_File\main.obj Bai_1_No_File This is my code. main.cpp #include "function.h" #include <conio.h> #include <fstream> …

Software Development c++
Member Avatar for Dang_1
0
158
Member Avatar for helen eyob

i'm trying to INSERT simple data to database access 2007 using vb.net 2008 but when i click the button insert it say's Syntax error in INSERT INTO statement

Software Development vb.net
Member Avatar for obeng.adomakobismark
0
251
Member Avatar for Amanpreet_1

i have to retrieve data in my richtxtbox from my database ... how can i convert the retieved format of image source into a smily in windows form .. help please

Software Development c#
Member Avatar for Amanpreet_1
0
497
Member Avatar for billbouris5

I have a program that is writen in C++, and I'm trying to set up the cygwin interface in order to save it to the correct path, compile it using the correct commands, and send the output to the screen. I want to understand how to achieve the connectivity to …

Software Development c++
Member Avatar for Andy_5
0
163
Member Avatar for elouch

Hi everyone, need some help with outlook. i need to extract information from outlook messages from default folder(inbox) to subfolders(including subfolders of subfolders) but it seems that i'm having problem on calling the folder from the outlook's default pst file. below are the codes i've already tried. outlookfolder = outlookmapi.Folders(folder_name) …

Software Development vb.net
Member Avatar for elouch
0
510
Member Avatar for blazemadej

Hi all, need some suggestions. This code looks like a jumbled mess to me. I am missing something and am not sure what. -Main should determain the letter grade of an average based on a 10-point scale and print out this grade. 90–100 A 80–89 B 70–79 C 60–69 D …

Software Development c++
Member Avatar for blazemadej
0
14K
Member Avatar for Deep Modi

How can i know File property? ex: artist name, album, year, Lenth in hh:mm:ss this can not be done with the : my.computer.filesyste.getfileinfo(open.filename)."anthing" ex: "name"

Software Development vb.net
Member Avatar for Reverend Jim
0
197
Member Avatar for mxwarning

Hi, I am very new to programming and I am unsure of how to start coding in c++. I need to create a currency conversion program. I need the code. I do have VS but have no idea of how to start the process of the coding.

Software Development c++
Member Avatar for mxwarning
0
322
Member Avatar for Prisms

Hello Everyone, I wanted to start on a personal project to see how much energy I was using when I had my laptop, tablet or phone plugged into an electrical outlet. I have no idea where to start and was wondering if anyone could get me pointed in the right …

Software Development tablet
Member Avatar for ddanbe
0
204
Member Avatar for Ezekiel_1

//I am writing a program that converts from one unit like mm to another e.g cm. The program should prompt invalid unit when something other than mm, cm, m or km is entered as the unit to be converted from or unit to be converted to. The problem is how …

Software Development c++
Member Avatar for Ezekiel_1
0
9K
Member Avatar for stan yost

How do you pass the data in a field on one form to a field in another form?

Software Development visual-basic
Member Avatar for Alyssa_1
0
3K
Member Avatar for mythos061

Hello, I have to code essentially what would mimic a std::map. I have a templated pair class, and a table class. I am given two tables, transition and action table, which are attached. Basically, I suppose to code a security system, where a door opens after someone punches in the …

Software Development c++
0
294
Member Avatar for jpunkins

Hello! I have a silly blog that uses images emailed to me which I'm not frequently updating because the manual method is cumbersome. I'd like to create a program or script or something that will allow me to search my inbox for messages from a particular account or with a …

Software Development
0
128
Member Avatar for mavtcr

I am studying vb.net through the help received through this forum. While I was making a small programme Out of curiosity/error I created a module.later I thought it is not necesssary.So I wanted to remove it.I searched in the project Tab But I could not see the Delete command.So I …

Software Development vb.net
Member Avatar for mavtcr
0
290
Member Avatar for christopherbe11

I have this code:: name_list=[] name1=print(input("what is your name: ")) name_list.append(name1) print(name_list) it returns Jon [NONE] If i input a name jon. Why does it not append to list please?

Software Development python
Member Avatar for christopherbe11
0
159
Member Avatar for Vasthor

for (std::size_t iter = 0; iter != m_queryMap.size(); ++iter) { // note here, line = iter + 1; std::set<std::size_t> lineBuck; lineBuck.insert(iter + 1); const std::vector<std::string> &bucket = m_queryMap.at(lineBuck); } where std::map<std::set<std::size_t>, std::vector<std::string> > m_queryMap; // storing each line of input // crossed with the line number as its key yup, …

Software Development c++
Member Avatar for NathanOliver
0
211
Member Avatar for esmond

Hi evryone... Can anyone give me a simple code to make an SMS gateway in VB.net please? I would be apreciate it.. much thanks=)

Software Development vb.net
Member Avatar for austincarven
0
398
Member Avatar for Amudha.M

Blob b=rs.getBlob(12); bytes[] imagebytes=new bytes[(int)b.length()]; Image image; image=getToolkit().createImage(imagebytes); ImageIcon icon =new ImageIcon(image); jLabel22.setIcon(icon); This will not work. help me to display the image

Software Development display image java oracle
Member Avatar for JamesCherrill
0
239
Member Avatar for stud101

Hi, am so new to java programming and I need help to create an address book. Am using this project to test my self.(http://sis.ashesi.edu.gh/courseware/cms/mod/resource/view.php?id=218). Please this is my writen code but I need help to add, edit, delete, and the rest of the functions. Or better if someone can guide …

Software Development cms java java-swing
Member Avatar for JamesCherrill
0
315
Member Avatar for jr.sayre3

Please help me my teacher gave me a program and I don't know how to do it. So this the program the she gave me. "Conversion from any Base to Base 10". Please help me :(

Software Development c++
Member Avatar for Lucaci Andrew
0
125
Member Avatar for Doogledude123

Could someone give me a few reasons why an Application isn't terminating on close? `*THIS IS FOR A JavaFX APPLICATION*`

Software Development ide java
Member Avatar for JamesCherrill
0
1K
Member Avatar for Emma_3

So everything works right now, but I need that final section (will be turned into a function later) to display the number of A's, B's, C's, D's, and F's. It seems like it should be pretty simple, but nothing is working for me. Thanks! #include <iostream> using std::cout; using std::cin; …

Software Development c++ programming-construct
Member Avatar for JasonHippy
0
181
Member Avatar for robelle

HI, the imput of my algortihme is C1,C2,C3,C4,C5,C6,C7, Target where the aim is : -C7 will be in target Position -C1 d'ont change it's position - keep the distance and the local position between C7-C6,C6-C5,C3-C2,C2-C1 C7-C6= mena the posiiton of the C7 relative to C6 (we must keep it and …

Software Development algorithm c++
Member Avatar for robelle
0
135
Member Avatar for shivers20

I am having some difficulty, any advice would be gladly appreciated. Thanks in advance. [B]Write a program that reads the following information and prints a payroll statement:[/B] [B]Employee's name[/B] [B]Number of hours worked in a week[/B] [B]Hourly pay rate[/B] [B]Federal tax withholding rate[/B] [B]State tax withholding rate[/B] [B]Enter employee's name: …

Software Development java
Member Avatar for stultuske
0
3K
Member Avatar for kiroyzki

This is how i try to run my JDK via cmd but i always get en error: ______________________________________________________ Microsoft Windows XP [Version 5.1.2600] © Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Elliona>cd desktop C:\Documents and Settings\Elliona\Desktop>cd kirby C:\Documents and Settings\Elliona\Desktop\kirby>path C:\java\bin C:\Documents and Settings\Elliona\Desktop\kirby>javac payroll.java C:\Documents and Settings\Elliona\Desktop\kirby>java payroll.java Exception in …

Software Development java microsoft-windows
Member Avatar for stultuske
0
640
Member Avatar for Emma_3

I need to find a digit at a specific postion in a number. Example number 652796, user inputs a 4, "2" is displayed. I have the basis for it, but most of the time, the output is incorrect. Not sure what's wrong. #include <iostream> #include <cmath> using std::cout; using std::cin; …

Software Development c++ programming-construct
Member Avatar for vmanes
0
1K
Member Avatar for masterinex

How do I call string a defined outside of the class ? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static2 ; namespace static1 { class Program { string a = "dsfsdf"; static void Main(string[] args) { Automobile.Drive(); int i = Automobile.NumberOfWheels; // Automobile car = new …

Software Development
Member Avatar for KushMishra
0
173

The End.