C Sharp :: How To Make Graph And Verify Its Properties

Apr 30, 2013

I want to make such application in which user make directed graphs along with relations between them. After that application show that which graph properties are proved in this graph e.g Reflexive, Irreflexive, Symmetric, Anti Symmetric, transitive etc

View 1 Replies


ADVERTISEMENT

C :: Make A Live Price Chart Graph

Dec 14, 2013

The only language I know so far is C. Is there any way I can use c programming to display a live chart for a price graph including volume in different time intervals that I want to select. I want it to look like this URL....

View 2 Replies View Related

C++ :: Verify Password And Convert Currency

Nov 14, 2013

How to make a program to enter password and if password right I can change the curency. I only want to change from ringgit malaysia to us dollar.The program can convert currency many times.I only want to use stdio.h

#include <stdio.h>
void main() {
int pass;
printf("Input your password");
scanf("%d",$pass);
if (pass==4782)

[Code] ....

After this what should I put to complete this program?

View 2 Replies View Related

C++ ::  How To Verify If A String Equals A Certain Word

Apr 3, 2013

I want to see if the value of a string equals a certain text. But I can't make it. There are two problems :

1) It seems 'tolower' doesn't work with strings. What to use then?
2) When I delete tolower, it works, but I have an output of "You didn't enter 'add'" even when I do enter 'add'. What's the problem? Is it due to the null byte? What to change?

#include "stdafx.h"
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <iostream>
using namespace std;

int _tmain(int argc, _TCHAR* argv[]) //This was added automatically by Visual Studio.

[Code] .....

View 3 Replies View Related

C++ :: Program To Verify That Name Only Contains Alphabetic Characters?

Dec 1, 2013

I am working on a program where i prompt the user for his/her name and i have to verify that the name only contains alphabetic characters.

here is my coding. It works to an extent i just can't get it to work the way it is supposed to.

#include <iostream>
#include <cstring>
using namespace std;
const int SIZE = 50;
int main()
{
char name[SIZE];
cout << "What's your first name?" << endl;

[Code]...

when someone types in a name with only alphabetic characters it outputs valid name for how long the name is. For Ex: bob is three characters so it would output valid name three times. also when you put in a name with a number or character at the end it outputs valid name for the correct characters but also outputs the invalid character and invalid name which its supposed to do. the valid name should not be showing up though.

View 2 Replies View Related

C++ :: Add Delete Verify And Print Users In Login System?

May 7, 2013

how to add delete verify and print users in a login system.

View 8 Replies View Related

C Sharp :: How To Make Another Thread Sleeping

May 30, 2012

How we can make another thread sleeping ?

As you know, Thread.Sleep(Timespan) function makes the current thread sleeping, but i want to make a specific thread sleeping.

View 1 Replies View Related

C Sharp :: Make A Program Without Using Class

Apr 22, 2012

Is there any way or trick to make a program that executes without using any class or class concept

View 4 Replies View Related

C Sharp :: How To Make Write Xml Continuous

Oct 27, 2012

how to make write xml continuous from port COM. Port my COM receive data continuously from external hardware and now I want to record continuous data into xml file (overwrite)

View 1 Replies View Related

C Sharp :: Make Setup With SQL Database In Installshield

Apr 20, 2013

i want make a setup for C# program with SQL data base but i can not . i use installshield but i have error in connection to database in execution program.

View 32 Replies View Related

C Sharp :: How To Make Search Based On Categories

Nov 6, 2012

I have three tables (company,department and employee). Company table has two rows (CompanyID, CompanyName). Department table has four rows (DeptID, DeptName, CompanyID, EmpID). Employee table has three rows (EmpID, EmpName, EmpAddress).

I want to search by Departments For example I want to have one Checkbox named Department if I checked Department it should show me all the available departments in the Company so if i select a particular department it should show me all the employees that they belong to the department that has been selected.

View 3 Replies View Related

C Sharp :: How To Make Object In Form1 Work In Form2

May 20, 2012

I've got a calendar in Form 1 in my code, and buttons in Form2. I need these buttons to send codes for this calendar in Form1. How may I make these work? My friend told me to do a function as a new class, but I'm not sure how can I do this.

View 5 Replies View Related

C Sharp :: Pulling Data From Database In Windows Form To Make It Interactive And Pushing It?

Jul 6, 2012

I am busy with a project, it is going to consist out of 3 different windows which is logic enough for this whole code to be interactive.

It must be able to pull data into a windows form, displaying it into a textbox, and when you click on the textbox it needs to open up another window where you will have a windows form that will display data as the code loops through the questions in the database.

I am not sure how to push the data that has been selected on the database to the next window..

Here is my code for the first window:

;
namespace WindowsFormsApplication1
{    
    public partial class Form1 : Form  {
        //SqlConnection myConnection = new SqlConnection("Data Source=(local);Initial Catalog=KnowledgeEssentials;Integrated Security=SSPI");
        //int intType = 0;
        public Form1()

[code].....

With the second window the data in the table needs to be displayed and each row from the table needs to have a checkbox next to them, so that if the check box is checked, the relevant information of the checked row will show up in the 3rd window... so MY question is, HOW do I pull that data from that specific database and let it show in the listcheckbox?

View 1 Replies View Related

C++ :: How To Access File Properties

Jun 29, 2014

Is it possible to access file properties from c++ program? For example, user could drag file to program and then it displays a detailed information about file like date modified, size, type and etc..

View 1 Replies View Related

C# :: Getting Properties From Different Classes / Objects

Feb 26, 2015

I have startes making a game where there is 3 ships that cross the screen verticaly, and the point is to shoot them down. So far I have actually managed to do this. I have also managed to add gamescore to the ships. But here is my problem, I cant find a way to combine the score from all three ships in to one score. I have all three ships in different classes, is that wrong? When I try to combine the scores, ship score1 cant see the other scores.

Do I need to somehow have all the ships in one class. Or are there a way to read the scores from three classes, and adding them up in to one in a new class?

One of the errors I get is "the name 'score1' does not exist in the current context.

View 14 Replies View Related

C# :: Passing Properties Between Forms

Nov 2, 2014

I've been attempting to design a multiform WFA in Visual Studio 2010, but I'm so rusty with the language it's hard to remember how to do a lot of things, especially when it comes to visual programming, which my class only partially covered. I've never made a multiform application before, and my problem essentially boils down to how to pass data between forms.

My application is a simple item list and order form, sort of mimicking what you might see on a site like Amazon or eBay. My first form contains a drop down list and 'checkout' button. The dropdown list has been populated with an object collection, each object holding the product's name and price.

public partial class Form1 : Form
{
//Item class for dropdown menu
public class Item {
public string Name;
public decimal Price;
public string itemName

[Code] ....

When the 'checkout' button on form 1 is clicked, I want the Price and Name properties of the selected droplist item to appear in a pair of text boxes on form 2 for the purpose of lowering the user's cognitive load (if they can see what they've selected, it's one less thing to remember).

I've seen plenty of tutorials on how to send a textbox Text property between forms, but none for how to do this. As I said, I'm rusty with the language, and I'm pretty sure there's a better way to set up my combobox items, but I can't remember how to set it up.

View 12 Replies View Related

C# :: Use Of Auto-implemented Properties?

Jan 28, 2014

Code using auto-implemented property:

public class MyClass {
public int age { get; set; }
}
static void Main(string[] args) {
MyClass testing = new MyClass();
testing.age = 44;
Console.WriteLine(testing.age);
}

output: 44

Code using regular variable declaration:

public class MyClass {
public int age;
}
static void Main(string[] args) {
MyClass testing = new MyClass();
testing.age = 44;
Console.WriteLine(testing.age);
}

output: 44

Why use the auto-implemented property when you can just as equally use the second code block to achieve the same thing?

View 14 Replies View Related

C/C++ :: Adding Properties To A Class?

Jun 29, 2014

I had written a "DLL" in VB.NET a year or two ago to read and set MP3 tags. I want to write this exact same library in C++ so I can convert it in my droid project, and to get a hands on introduction to C++. So far this attempt has been a total mind melt!

I am finally wrapping my head around .cpp and .h files so there is light at the end of this tunnel. Here is my problem now:

I wrote the VB project with properties for each tag in the MP3 file, then I could get and set them - easy stuff.

When I try this in C++ I get compile error: a property can only appear within the definition of a managed type. I can usually stumble through Google searches and figure out this type of stuff on my own, but this one is stumping me -- I think I am missing some fundamental stuff here.

My code:

// MP3Tags.h
#pragma once;
#include <string>
using namespace std;
using namespace System::IO;

[Code]....

View 4 Replies View Related

C# :: Custom Control Properties?

Sep 23, 2014

I have been trying to make a custom control(list box with more features). I know how to setup custom properties, but how do I make it so that the property can be edited in a separate window ?

I think I figured out how to show the form itself, and I don't know how to make the [...] button like :

There's not much Custom Control tutorials out there, and that's really the problem here.

View 1 Replies View Related

C# :: Pass Values Between Forms Using Get And Set Properties?

Jan 15, 2015

Well I know how to pass values between forms using get and set properties. But the problem with it is everytime I want to pass values from form2 to form1 it doesn't appear. To make it appear I have to type form1.Show(); which open form1 a second time and then show the value. Is there any way I could make it appear without using form1.Show();?

View 9 Replies View Related

C/C++ :: How To Change CMD Window Size (No Properties)

Oct 23, 2014

Is there any way to resize the cmd window?

Kinda like in properties, where you choose the height and width of the window, but in actual code. So everybody who open my program see the same window.

View 1 Replies View Related

C# :: Accessing GUI Properties From Application Object

Aug 20, 2014

I'm trying to get my head around threading and gui applications for fun, and I've ran into a problem I'm not too sure how to google it correctly or I don't understand the answers given. Basically I'm trying to access GUI item properties (add to a listview). I've been on stackoverflow alot, and I've noticed that accessing these properties is quite difficult. At least, I'm not really understanding how it is supposed to be done.

The following line gives me a null value.

frm.lstChat.Items.Add(newList);

From what I understand I need to access my form object instead of creating a new object window... but I'm not sure how to reference the initial form application.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Net.Sockets;
using System.IO;
using System.Threading;
namespace ModBot {

[Code] ....

View 3 Replies View Related

C++ :: Quicker Way To Configure Project Properties For Library?

Mar 4, 2013

I have to edit 4-5 lines in the debug, and then 5 lines in release for each of my little project's properties.

View 2 Replies View Related

C++ :: Design Own Container With Properties Of Both Vector And List

Dec 14, 2014

How can I write my own container which has properties of both vector and list.

E.g. I can access elements directly using [] operator like vector and behave like list in terms of memory (means we don't have to shift elements if we want to insert in between like list)....

View 1 Replies View Related

C++ :: Video Game Programming - How To Display Graphics And Set Properties

Jun 10, 2013

How would you create a video game in c++? I'm not sure really how to display the graphics and set properties and do all that stuff. I don't have money to buy a book about so how do you?

View 2 Replies View Related

C++ :: How To Retain All Project Properties When Change From Debug To Release Mode

Aug 1, 2013

I'm developing C++ application in visual studio 2012. I have couple of C++ projects in my solution. I have put some library paths in every project's properties ( i.e ,Config properties - > C/C++ - > Additional Include Directories and Linker - > Additional Include directories ).I developed in debug mode, if i change to release mode, all library settings gone.Is there any possibility to retain all settings when change to debug to release mode and vice versa ?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved