- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 40
- Posts with Upvotes
- 32
- Upvoting Members
- 29
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
20+ years experience in C, C++, VB. Helped create AutoIt3. Learning VB.Net, C#, Java
- PC Specs
- Multiple
Well I just started eating dinner and thought this would be a neat topic. Everyone knows we love to eat while on the computer; two birds, one chair. I'll start it off: Deli Sandwiches, macaroni salad, potato salad and a Pepsi :) |
|
Hello guys i want to convert this string to boolean and i'm passing this string in if condition my Str = "row(0).ToString.Contains(""ABC"")" it should return me boolean result as the condition follows I'm Making use of this in Uipath |
|
I'm hoping that people will post unusual or little known facts here. It would be proper to include a link to a source for confirmation. Here's a start. Speedy Gonzales was banned by the Cartoon Network for being an offensive stereotype, only to be returned after mass protest by the … |
|
I'm looking to write a code in vba that takes 4 given numbers and uses mathematical operations on them (add,sub,mult,division,power,factorial) and then lists the results. Any of the operations can be used but all 4 numbers must be used each time. Any help would be greatly appreciated. Thx |
|
package de.extrema.java; import java.util.Scanner; public class Pogramm { public static void main(String arrg[]) { try (Scanner scanner = new Scanner(System.in)) { double a , b , r , A , h; int number2; int number; System.out.println("Körper: "); System.out.println("Deine Wahl: "); number = scanner.nextInt(); number2 = scanner.nextInt(); switch(number) { case 1:{ … |
|
I am doing a team project with some people that prefer Linux and some people prefer Windows. We are also not allowed to share code for security reasons. One thing the Windows people love to whine about is a way to hold the window open. So the way they usually … |
|
Hi, I have a C++ program : // ConsoleApplication14.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <list> #include <queue> #include <vector> #include <string> using namespace std; class RectangularVectors { public: static std::vector<std::vector<int>> ReturnRectangularIntVector(int size1, int size2) { std::vector<std::vector<int>> newVector(size1); for (int vector1 … |
|
A cat has 9 lives -- what has more than 9 lives? Answer: Frogs because they croak every night. (Duck Dynasty) |
|
Hi Everyone I am trying to achieve a cell that is dependent on two different cells. Basically what I want to do is: *Item 1* If the contents of Cell U20 equals the contents of W12 or W13 the cell will equal a certain value. *Item 2*Depending on the date … |
|
I'm developing a login page for my web-based(asp.net)visual basics application, I want the user name entered on the login page be visible on a label on the redirected form. I page redirect depeding on various occations, for example if the entered user name is for a system administrator I want … |
|
Hi I'm having an 'The application is in Break Mode Error' when debuging this sort code. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim ds As New test1 Dim reportdoc As New CrystalReport1 ds.Tables.Add(Test_tbl) DataGridView1.DataSource = ds.Tables("Datatable1") reportdoc.SetDataSource(ds.Tables("Datatable1")) With CrystalReportViewer1 .ReportSource = reportdoc .Refresh() End With End … |
|
struct sdata; typedef struct sdata *sptr; struct sdata { char sName[25]; char sNum[7]; sptr next; }; void readdata(); int main(void) { readdata(); return 0;' } void readdata(){ int length; int i ; char Line [100]; const char s[2] ="#"; char *token= strtok(Line,s); FILE * data =fopen("data.txt","r") ; if(data==NULL){ printf("ERROR : … |
|
hye, i have a question about listview checkbox, recently i have tried to do a checkbox inside listview and its print well. but the result are not as i want, what i want is the checkbox is save the item to text file base on which checkbox is checked first. … |
|
im trying to make a loop that asks a command from stdin and checks if it's valid or not, and the command for example will be in this format : Command then seperated with any amount of spaces then a Letter then comma then a double a comma and a … |
|
Warning: I am brand new to programing. I am trying to create a random letter generator game for a class project. I feel like I have a good start to it but I am having difficulty with a few points. The program is supposed to ask the player how many … |
|
typedef struct { unsigned char Val1; unsigned char Val2; unsigned char Val3; unsigned char ValArray1[2]; unsigned char ValArray2[2]; unsigned char ValArray3[2]; unsigned char Val4; unsigned char Val5; }s1; From the above structure, would like to map only the Val3, ValArray1,ValArray2 and ValArray3 to series of bit values using ideas like … |
|
private void button1_Click(object sender, EventArgs e) { SalesTransaction s1 = new SalesTransaction(0.06); listBox1.Items.Add(s1.ToString()); SalesTransaction s2 = new SalesTransaction("John Doe: ", 170000, 0.07); // 11900 // s2.SalesAmount = 210000; //The commission should be automatically adjusted. 14700 listBox1.Items.Add(s2.ToString()); SalesTransaction s3 = new SalesTransaction("Jane Doe: ", 200000); // 0 listBox1.Items.Add(s3.ToString()); SalesTransaction s4 = … |
|
Craete an application named TestHockeyPlayer that instantiates and displays a HockeyPlayer object. The HockeyPlayer class contains fields for a player's name (a string), jersey number (an integer), and goals scored (an integer) |
|
Hi All, I wanted to know in below code snippet what will be impact if m_singleObject is declared as a weak_ptr. Usaually we peform lock on weak_ptr and convert the same in to the shared pointer and then return the same to GetInstance() function. static std::shared_ptr<singleType> shareObject = m_singleObject.lock why … |
|
'Private Sub ComboBox1_SelectionChanged(ByVal sender As System.Object, ByVal e As System.Windows.Controls.SelectionChangedEventArgs) Handles ComboBox1.SelectionChanged ' Dim cmd As New SqlClient.SqlCommand ' Dim tbl As New DataTable ' Dim da As New SqlClient.SqlDataAdapter ' Dim code As Integer ' Dim ds As New DataSet ' Dim sql_empid As String = cmbaaa.SelectedValue.ToString ' Try … |
|
Hi This Satani Ketan , My Question is i am Making A login Form using c# windows application..so i have to use session and coockies in my form..that provide me how much time spent by user after logout....can any one help me.. thanks in advance...!!! |
|
...well I'm just about to step into my sophomore year in college as a computer science engineer, undergraduate . I was eager to know about all the important and world renowned competitions that are held in the field of computer science. I just know about ACM ICPC . I'm interested … |
|
the last array array 3 is not giving me the desired output. i see no logic errors therefore i do not know why i am getting the wrong output. #include<stdio.h> int arr1[5]={55,145,950,25,500}; int arr2[5]={44,58,98,25,62}; int arr3[5],array1,array2,array3; int i=0,j=0,k=0; for(i=0;i<5;i++){ array1=arr1[i]*2; printf("array 1 doubled is %d . \n",array1); //i++; } for(j=0;j<5;j++){ … |
|
Ladies and Gentlemen Coders, I'm working with the code below: int GetDrives(void) { wchar_t LogicalDrives[MAX_PATH] = {0}; DWORD r = GetLogicalDriveStringsW(MAX_PATH, LogicalDrives); if ( r == 0 ) { printf("Failed to get drive names. %ld", GetLastError()); return 1; } int NumDriveCount = 0; if ( r > 0 && r … |
|
HeY First I'm new to software developing side. I made some system abount money lending and some my teachers said that system good but there is wrong thing at finding profit/loss page. Therefore I want your advices guys ! :) In this system user can register new clients and also … |
|
A C/MPI program that is executed using two processes. Process 0 hold a 4 × 4 array A that contains the floating-point values shown below. 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 A[4][4] 9.0 10.0 11.0 12.0 13.0 14.0 15.0 16.0 What is the ordered sequence of the values … |
|
I'm trying to to find elements into an array and look for the same elements into another array and i'm trying to assign the same ones with a 'y' for yes and 'n' for no, here is the code i did, but the code only reads it index by index, … |
|
In below program both **if statements gives an error** #include<iostream> #include<conio.h> using namespace std; class operation { int bank_id,balance; public: int input() { cout<<"enter the bank_id "; cin>>bank_id; cout<<"enter the balance "; cin>>balance; } operation operator ==(operation p) { operation b1,b2; b1.bank_id=bank_id+p.bank_id; b1.balance=balance+p.balance; b2.bank_id=bank_id+p.bank_id; b2.balance=balance+p.balance; if(b1==b2) { return b1; } … |
|
Hi all, I currently have two tables that look like this: COMMENTS +----+-------------------------+--------------+---------+---------------------+----------+ | ID | comment | profile_post | creator | created | approved | +----+-------------------------+--------------+---------+---------------------+----------+ | 1 | This is a test comment | 3 | 1 | 2016-02-26 12:26:36 | 1 | | 2 | 0 | … |
|
that question is so ... **things we perhaps should not post in a reply** "You personify the zero end of every 0-10 scale" "We have never seen that point on the zero-bullshit scale before" "right down the bottom end of the forethought 0-10 scale "the first thing your potential customers … |