132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ckide

What are the areas (uses) of the use of the language of C/C++? i want advanced uses of c/c++ to choose the best for me and for the future.

Software Development c++
Member Avatar for Maritimo
0
470
Member Avatar for nipur23

Hi guys, I'm almost finished my assignment. It's purpose is to translate english words to pirate language. For example, when some enters "hello", "ahoy" is returned. But when I enter two words like "pardon me", "null" is returned even though I have assigned "avast" to it. I'm thinking this is …

Software Development java
Member Avatar for stultuske
0
2K
Member Avatar for rela

I need to have the same following format of dadat, which are read in a text fil, in output. "Mainnumber" is the first number of each matrix (1,2,3) and for each "mainnumber" (i), the number of rows are determined for each (i) by ("nof_row_per_mainnumber[i]"= numberof_rows;). For every "Mainnumber" (matrix) it …

Software Development c++
Member Avatar for tinstaafl
0
265
Member Avatar for redtribal23

I'm trying to make a program that reads in numbers and commands and prints the list of numbers. I am trying to solve one problem at a time and this is about exception handling. I am still not familiar with the whole exception handling that is why I get confused. …

Software Development java
Member Avatar for Taywin
0
216
Member Avatar for david.nicely.393

• Need help with writing an algorithm: • Department Store Sale! Prompt the user to enter the sticker price of each of the clothing items they’re purchasing (make sure all input prices are positive). The user should be allowed to purchase as many items as he or she would like. …

Software Development algorithm c++
Member Avatar for sneekula
0
142
Member Avatar for TheGuy831

Hi i Been Trying all night to get **Flash Player** to occupy **All** Browser Control using the height="100%" and width="100%" ![0e4a025266d1fe1c72d867596476e7d3](/attachments/small/4/0e4a025266d1fe1c72d867596476e7d3.png "align-left") ![d5a44ac00709c049b7c89b808cf2a4b0](/attachments/small/4/d5a44ac00709c049b7c89b808cf2a4b0.png "align-left") Making **Flash Player** Full screen in Browser Control.. Please!! Help!! Thank you..

Software Development flash vb.net
Member Avatar for TheGuy831
0
247
Member Avatar for burhanahmed92

I worked on ASP.NET and i use sqldatasource control to add binding in my DataGrid. But now i am making app in WPF C# and there is no sqldatasource in Toolbar. I am using VS2013. I searched online and most of the sites tell to add connection manually in c# …

Software Development
Member Avatar for gerhard_1
0
172
Member Avatar for Silvainius

I am trying to make a memory game using labels and command buttons, and I have run across an issue in which when I try to set up a timer with a loop within a Sub function. My current code for this: Private Sub Form_Load() tmrStart.Interval = "1" End Sub …

Software Development visual-basic
Member Avatar for Silvainius
0
171
Member Avatar for Deep Modi

Hello I want to create the program for teaching program. In this I want to add the Topics which is almost of 50-60 now the things is that I am not using the Tabs. I use the Menu bar in which i add the object as "TOPIC" and under this …

Software Development vb.net
Member Avatar for Mr.M
0
190
Member Avatar for Mr.M

Hi Dw I'm currently doing my research on card development and processing. I've found out that this card has three tracks but only track 1 and two are encoded and by the look at these data I then wandered that is there a way to decrypt the info stored in …

Software Development vb.net
Member Avatar for Mr.M
0
212
Member Avatar for Adrossii

Can you help me please? I don't know how to do this. How can I declare an array with an unsigned value? The only way I know is to specify the size first then the user can input his values. How to do this? Please.

Software Development c
Member Avatar for sunktugg
0
309
Member Avatar for saurav_panda

hi every one. i want some help in writing the code to find out shortest word in a string. i am posting a code on longest word. can somebody help me in writing this code? this is the code for longest word in a string without any built in function …

Software Development c
Member Avatar for sunktugg
0
201
Member Avatar for samson.dadson.3_1

the problem I have here is: when I input an integer it works fine, but when i input any other thing, it doesn't give me a chance to input again when the loop iterates, it just keeps printing "error type the right thing" to the screen even though "cin var" …

Software Development c++
Member Avatar for samson.dadson.3_1
0
2K
Member Avatar for nitin1

Does C++ consider \/ as an escape character? And does Java consider it? I am talking about forward and backslashes. Please tell. How does Java and C++ considers them differently? I mean : in C++: this '/' works fine without escape. in Java: this '\/' will result in '/'. Is …

Software Development c++ java
Member Avatar for nitin1
0
238
Member Avatar for nitin1

I am creating one json array using Json-glib using c++. Here is the data: title="Daniweb" (string) last= 1234 (long) icon="icons" (string) url = "[\"dani.com\"]" (json array) After making one json array using exsiting APIs of json-glib library, I got this: {"id":"Nitin1","clientName":"Gourav_first_task","tabs":"[{\"title\":\"Daniweb\",\"icon\":\"icons\",\"urlHistory\":\"[\\\"Dani.com\\\"]\",\"lastUsed\":1234}]"} Is it the correct json string made? It has …

Software Development c++ json
Member Avatar for mike_2000_17
0
180
Member Avatar for Xiao_1

in combobox how do can i select the user as student not other e.g. if the user is student not Manager Private Sub loginform_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" Try Dim sqlcmd As String = "SELECT * …

Software Development open-source vb.net
Member Avatar for Minimalist
0
134
Member Avatar for AQWst

Hello-- I am not sure where I should post this. I have an Excel spreadsheet with some cells I would like to concatenate into one resulting cell. I can get the cells concatinated, but I would like to concatenate one cell to the degrees symbol, followed by a space, followed …

Software Development microsoft microsoft-office
Member Avatar for ddanbe
0
274
Member Avatar for waterm

I have small issue with my datagridview and crystal report I am using this code for display my crystal report but my problem is I can display only one row from data grid view But I want to print all rows randomly selected from datagridview in crystal report Private Function …

Software Development vb.net
Member Avatar for Santanu.Das
0
2K
Member Avatar for jsussarredondo

I need to read data from a file given to me by using an array. Data in file looks like this: "Jones C A B B D A B C A A C B A D D C A C A D I'm making an Exam Grader program but I …

Software Development c++
Member Avatar for Maritimo
0
145
Member Avatar for saeed.albahri1

Hello C++ Nerds! I am creating a list using Arrays. And I want to have AddItem, DeleteItem functions in those lists. But as you know, you can't delete an element from an Array because it's a fixed size. But we can shift all the left elements by one place and …

Software Development algorithm c++
Member Avatar for Maritimo
0
335
Member Avatar for coder43

test.txt : 18 19 20 21 22 23 22 23 24 23 24 25 24 25 26 25 26 27 28 29 30 29 30 31 I want to read in the integers in test.txt as strings then create a vector of 3 ints. If that makes sense, so the …

Software Development c++
Member Avatar for mike_2000_17
0
163
Member Avatar for KymDervy

Using Java is it possible to upgrade LG U900 version to accomodated some common applications like whatsup? Can its RAM be upgraded? Thanks guys

Software Development java
Member Avatar for peter_budo
0
78
Member Avatar for Amr_Mohammad_R

I'm using InstallShield 2010 and I set the SQL Server 2008 Express as a prerequisite. However, I have an instance of SQL Server 2008 developer edition installed on my pc, the SQL Server 2008 Express prerequisite windows always appear. How to cancel such window if there is any instance of …

Software Development sql
Member Avatar for Amr_Mohammad_R
0
116
Member Avatar for jrismd

Hi Good Day! I have problem in delphi i cannot load image (jpeg) into QRDBImage on Quick Report, I used memdata and data source, code: procedure TfrmEntityModule.actCOPExecute(Sender: TObject); var frm: Trep_EDR; OrganizedGroup: TRoOrganizedGroup; begin frm := nil; OrganizedGroup := nil; frm := Trep_EDR.Create(Self); OrganizedGroup := sMainApp.MCISService.GetOrganizedGroup(txtEntityNo.Text); try frm.mds2.Close; frm.mds2.Open; frm.mds2.Edit; …

Software Development delphi image open-source pascal
Member Avatar for srikanth@pala
0
943
Member Avatar for rebintahsin

how can i make a program by using like this(2*5/6+3-8*3/2)to get the sum of them?

Software Development c++
Member Avatar for gusano79
0
406
Member Avatar for veljko

I need a maze solver that uses queue type breadth first search to find a way out of the maze and print it out. I already made a dfs one but i cant seem to figure out how to make a bfs one. Here it is: #include <stdio.h> #define red …

Software Development c queue
Member Avatar for gusano79
0
964
Member Avatar for david.nicely.393

Need help with writing an algorithm: Department Store Sale! Prompt the user to enter the sticker price of each of the clothing items they’re purchasing (make sure all input prices are positive). The user should be allowed to purchase as many items as he or she would like. For each …

Software Development algorithm python
Member Avatar for sneekula
0
136
Member Avatar for joshua_8

Invalid escape sequence in ^[SFTG]\d{7}[A-Z]$ Pattern .compile("^[SFTG]\d{7}[A-Z]$");

Software Development java
Member Avatar for stultuske
0
120
Member Avatar for dimitris.dimitri.73

Dear forum i would like some advices regarding a calendar in vb net and mysql(wamp).. So my question is to suggest some approaches to achieve this result. I have thought on creating just one datagrid and apply some css style,but the problem is that it will show all result in …

Software Development vb.net
Member Avatar for J.C. SolvoTerra
0
214
Member Avatar for xuexue

How can I upload the data from an Excel Spreadsheet to my database in DB2? Thanks! :)

Software Development vb.net
Member Avatar for J.C. SolvoTerra
0
396
Member Avatar for rela

I wan to wirte in cout << ... to have the matrix in output in the same format that I wrote it in text file like this: 1 2 3 4 5 2 3 4 5 6 3 4 5 6 7 class Classname { double data[3][3]; public: void Read(char …

Software Development c++ matrix-multiplication
Member Avatar for rela
0
2K
Member Avatar for ddanbe

OK I know the DateTime structure is very good at doing this. But if you ever wanted to design your own calendar, or just wanted to know how things are possibly done, this could be a handy function. Enjoy.

Software Development
Member Avatar for xrjf
0
2K
Member Avatar for divinity02

write a program that will display all the odd numbers between 1 and 15. here is the code that i used Scanner scan = new Scanner (System.in); int i, num=0, count_odd = 0; for(i=1; i<=15; i++) { System.out.println("please enter number "); num = scan.nextInt(); } if(num%2!=0) { count_odd++; } System.out.println("The …

Software Development java
Member Avatar for stultuske
0
314
Member Avatar for Simon180

I know everyone on Daniweb are talented but am looking for a person that knows both delphi and c++/c# to help convert some code into delphi for a reconversion of a program we have been trying to revive and get running. so am hoping there some one on here that …

Software Development c++ delphi
Member Avatar for happygeek
0
139
Member Avatar for joshua_8

Hi how do I remove [] in my arraylist my sample output is [[3, 6, 5, 1, 2, 8, 50, 6, 1, 3, 1, 54, 1, 3, 1]] I just want 3, 6, 5, 1, 2, 8, 50, 6, 1, 3, 1, 54, 1, 3, 1

Software Development java
Member Avatar for JamesCherrill
0
98
Member Avatar for Nana_29

here is the program exercise: Write a program to help a local restaurant automate its breakfast billing system. The program should do the following: a. Show the customer the different breakfast items offered by the restaurant. b. Allow the customer to select more than one item from the menu. c. …

Software Development c++
Member Avatar for Nana_29
0
3K
Member Avatar for mxwarning

Hello Again, I am in need of some help getting my GUI to display the inventory values. The code runs and compiles successfully, but it does not display anything. I am new to this and could use some help. Thanks! package inventory; import java.text.DecimalFormat; import java.util.Arrays; import javax.swing.*; import java.awt.*; …

Software Development gui java java-swing oracle
Member Avatar for stultuske
0
3K
Member Avatar for kazek

I wrote a java program/application and I'm trying to combine all the .class files into one .exe file. I want to have a convenient double-clickable EXE file to launch the program without the user having to handle .java file associations.

Software Development file-system java
Member Avatar for stultuske
0
5K
Member Avatar for Reverse_1

try{ String str = "select * from stocks"; stmt = conn.prepareStatement(str); ResultSet rs = stmt.executeQuery(); while(rs.next()) jcbStock.addItem(rs.getString("stockID")); }catch(Exception e){ e.printStackTrace(); } I have this code in other class , and i want call it in my main class. Anyone can tell me how to do?

Software Development java
Member Avatar for stultuske
0
186
Member Avatar for melusi_1

How do you contrive an algorithm which solves quadratic equations?

Software Development algorithm c++
Member Avatar for Moschops
0
135
Member Avatar for COKEDUDE

Where are the c programming variable name rules defined? I usually use these two websites for figuring out these kind of things but I don't see it anywhere. http://www.tutorialspoint.com/c_standard_library/c_function_scanf.htm http://www.cplusplus.com/reference/cstdio/scanf/

Software Development c c# c++
Member Avatar for vegaseat
0
278
Member Avatar for ambageo

Hi to all of you! I'm using Eclipse Luna 4.4.1 for Mac. I have made a project for a Java seminar I am attending.My project consisits of several classes that runned perfectly fine...until today.That is , when I opened one of my classes and made some changes I started getting …

Software Development ide java
Member Avatar for ambageo
0
334
Member Avatar for Sadiiiiiiiiee_1

hi guys i am a beginner at programming, what does the first line of this code does?....i know the second line generates a random number between 0 and 10 but i am not sure what the first line does....please explain for(int index=5; index<10; index++) {random_integer = (rand()%10)+1 }

Software Development c++
Member Avatar for Sadiiiiiiiiee_1
0
96
Member Avatar for Sylvia_H

i need to write a program to output an ascii art pattern. the size of the pattern should change dynamically based on class constants. if i change the class constants, the pattern changes. Should look like this Number of boxes: 4 Width of boxes: 6 Height of boxes: 3 +------+------+------+------+ …

Software Development java
Member Avatar for Slavi
0
237
Member Avatar for jared.geli

I can post a single line of row I selected from datagridview but I want to select specific multiple rows then display it in my crystal report. BTW I'm using VB2010. Dim cmd As New OleDbCommand("Select * From Data1 Where ID = " & Form4.DataGridView1.SelectedRows(0).Cells(0).Value.ToString() & "", Form4.con) Dim adpt …

Software Development dataset display vb.net visual-basic
Member Avatar for waterm
0
2K
Member Avatar for don75cua

Hi, Im teaching myself VB, specifically, how to create forms(im using VS Express 2013). I wanted to use the values from an xls file( already exported it as LMS.csv, a table with 4 rows X 3 columns) as constants for my form. I've tried the codes below but its not …

Software Development visual-basic
Member Avatar for don75cua
0
128
Member Avatar for RikTelner

Hey there, So I've been searching for method to replcace on particular line in an UTF-8 (easily readable and copy-paste) file. I found lots of methods that were searching for matches in rows and replacing them. It was mentioned very often that it's impossible to replace a row in text …

Software Development file-system
Member Avatar for ddanbe
0
270
Member Avatar for aida.atef.31

Here's the problem (i know it's really easy "it's for beginners") You will be given two numbers X and Y and you will have to define the relation between them. It can be one of the following relations : - X greater than Y. - X smaller than Y. - …

Software Development c++
Member Avatar for vijayan121
0
253
Member Avatar for Jesse_4

//I need help on where to go from here, mostly in the main. //The instructions and requirements can be found in the attachment. /********************************* Queue header file ********************************/ #ifndef QUEUE_H #define QUEUE_H #include <iostream> using namespace std; class Queue { private: class QueueNode { friend class Queue; int value; QueueNode …

Software Development c++ queue
Member Avatar for David_50
0
1K
Member Avatar for Diellza

Dear all, I have created a code for QuicSort algorithm with random numbers and time executation but now I want to do for Countin sort And I don't know, Can anybady help me based in this example. Thanks include <iostream> include <conio.h> include <time.h> include <stdlib.h> //srand and rand functions …

Software Development algorithm c++
Member Avatar for David_50
0
701

The End.