Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Member Avatar for DemonSpeeding

I believe what I have written at the moment is a singly linked list, and I can't figure out how to delete whatever node the user specifies, I've toyed around with it but I'm stumped. Here's my specification file: [code] #include<string> using namespace std; class Node { Node *prev; Node …

Member Avatar for Narue
0
213
Member Avatar for DemonSpeeding

[code] Public Class Form1 Dim xpos As Integer Dim ypos As Integer Dim i As Integer Dim tempTotal As Double Dim dblTempTotal As Double Dim dblSum As Double Dim dblGrandTotal As Double Dim Printer As PrintDialog Const MAXNAMES As Integer = 50 Structure ItemInfo Dim Name As String Dim Price …

0
65
Member Avatar for DemonSpeeding

[code] Private Sub btnPrintListBox_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrintListBox.Click Printer.ShowDialog() End Sub [/code] My book doesn't discuss how to use the PrintDialog, so I'm not sure how to get it to print out a ListBox. Also I have a ComboBox full of states and sales tax …

0
75
Member Avatar for DemonSpeeding

[code] Private Sub btnPrintListBox_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrintListBox.Click Printer.ShowDialog() End Sub [/code] My book doesn't discuss how to use the PrintDialog, so I'm not sure how to get it to print out a ListBox. Also I have a ComboBox full of states and sales tax …

Member Avatar for ryan_vietnow
0
95
Member Avatar for DemonSpeeding

[code] if (decision == "B" || decision == "b"){ for (k =0; k < rows; k++){ for (m =0; m < cols; m++) switch (image[k][m] = image[k][m] + brightcount) { case '0' : cout <<" "; break; case '1' : cout <<"-"; break; case '2' : cout <<"="; break; case …

Member Avatar for Duoas
0
142
Member Avatar for DemonSpeeding

This is my first time writing a bash script in Linux, basically I want to create a user but not use adduser or useradd. So, in the /etc/passwd folder I need to put data in, in this way. login:encrypted passwd:UID:GID:gecos:home directory:login shell I'm going to leave the gecos blank. Then …

0
119
Member Avatar for DemonSpeeding

This is my first time working with outputting data to a file, so I've got some rough code that I need some pointers on. [code=cpp] else if (decision == "S" || decision == "s"){ cout << "File name? " <<"("<<filename<<")"<< endl; cin >> newfile; if (newfile == '/0'){ outdata.open("filename"); for …

Member Avatar for Duoas
0
147
Member Avatar for DemonSpeeding

I have a file that is representing an image, here's the puddle.img file: 10 22 2222888222882222228882 2222888222882222228882 3333333333333333333333 1111111111111111111111 1111144444111111111111 1111444444411551111111 1114643434345551111111 1111333333311551111111 1111133333111111115114 1111111111111111115543 The first two numbers are the size of the image, rows and then columns. Then I have to pull in the image, and before the …

Member Avatar for DemonSpeeding
0
195
Member Avatar for DemonSpeeding

I have a question about adding say integers to an array-based list of numbers. I know how to add something at the end it would be something like: values[count] = newValue; count ++; What about if someone wanted to add something to the beginning or somewhere between? My book doesn't …

Member Avatar for Ancient Dragon
0
99
Member Avatar for DemonSpeeding

Okay, so the premise is that this place contains items for sale, and has five of everything that it sells. The inventory is brought in from a file and with parallel arrays you set up the item names with the inventory in stock. I have that all down, but now …

Member Avatar for vmanes
0
108
Member Avatar for DemonSpeeding

So I have a program with a specification file, implementation file, and a client file, I'll post all three but I know the problem rests in the client file. What's happening is that it reads the first team from my data file which I'll also post, and then it doesn't …

Member Avatar for DemonSpeeding
0
86