• C# Get; Set; question?

    Hi guys. Still getting my hands dirty with C#. Right now I am studying this statement: public class Department { public long Id { get; set; } public string Name { get; set; } public override string ToString() { return Name; } } Can someone give me a plain english explanation on what the get; set; stuff is and what it does exactly? My textbook... show more
    Hi guys. Still getting my hands dirty with C#. Right now I am studying this statement: public class Department { public long Id { get; set; } public string Name { get; set; } public override string ToString() { return Name; } } Can someone give me a plain english explanation on what the get; set; stuff is and what it does exactly? My textbook does not explain this in a clear way. Thank you.
    2 answers · Programming & Design · 2 months ago
  • C# Container how to add int variable?

    Hi guys. Still new to C#. I do now know how to create a container and add components to it. Is there a way to add a integer to a container? For example, I have: Component Item1 = new Component(); inventory inventoryObject = new inventory(); inventoryObject.iContainer.Add(Item1); This does add a component (Item1) successfully. Is there a way to... show more
    Hi guys. Still new to C#. I do now know how to create a container and add components to it. Is there a way to add a integer to a container? For example, I have: Component Item1 = new Component(); inventory inventoryObject = new inventory(); inventoryObject.iContainer.Add(Item1); This does add a component (Item1) successfully. Is there a way to add a integer though? Thank you in advance.
    2 answers · Programming & Design · 3 months ago
  • C# how to add items to a iContainer?

    Hi guys. I have: interface iContainer { } Is there a way to use a method to add items to it? I can not seem to find this in my textbook. Thank you in advance.
    Hi guys. I have: interface iContainer { } Is there a way to use a method to add items to it? I can not seem to find this in my textbook. Thank you in advance.
    2 answers · Programming & Design · 3 months ago
  • C# how do I change the amount of space between two lines of output?

    Lets say for example I have: Console.WriteLine("This is line 1.\n"); and Console.WriteLine("This is line 2.\n"); How would I increase or decrease the space between those two lines when they are output?
    Lets say for example I have: Console.WriteLine("This is line 1.\n"); and Console.WriteLine("This is line 2.\n"); How would I increase or decrease the space between those two lines when they are output?
    4 answers · Programming & Design · 3 months ago
  • In C# how can I change the color of certain parts of my code.?

    In C# how can I change the color of certain parts of my code. Not what I am outputting to screen when I run the program. The code itself in visual studio. I have posted a picture. In this picture I want to makes the A's yellow and the B's purple. How can I do this?
    In C# how can I change the color of certain parts of my code. Not what I am outputting to screen when I run the program. The code itself in visual studio. I have posted a picture. In this picture I want to makes the A's yellow and the B's purple. How can I do this?
    1 answer · Programming & Design · 3 months ago
  • C# how to access a method inside a object instance?

    Hi guys. I am having trouble figuring out how to access a method that exists inside a object instance in C#. How can this be done? I know that in C++ this can be done using -> but I can not see how to do this in C#. Assume I have a object called myObject and in that object there is a method called myMethod. How would I externally access... show more
    Hi guys. I am having trouble figuring out how to access a method that exists inside a object instance in C#. How can this be done? I know that in C++ this can be done using -> but I can not see how to do this in C#. Assume I have a object called myObject and in that object there is a method called myMethod. How would I externally access myMethod? Thank you in advance.
    2 answers · Programming & Design · 3 months ago
  • Question about the Android OS?

    Hi everyone. I am toying around with the idea of making a few apps for android. I have not worked with android much so I have some questions. I installed the Android 7 OS on my Laptop. Is it the same as the version that phones comes with? Or is it different. Essentially I am wondering if I would need to get something like a Android tablet or phone... show more
    Hi everyone. I am toying around with the idea of making a few apps for android. I have not worked with android much so I have some questions. I installed the Android 7 OS on my Laptop. Is it the same as the version that phones comes with? Or is it different. Essentially I am wondering if I would need to get something like a Android tablet or phone to try this out. Thank you in advance.
    1 answer · Cell Phones & Plans · 4 months ago
  • HTML help?

    HTML. Is there a way to change the src of a iframe by clicking a button with your mouse? I have been looking over my HTML book and searching online and I just can not figure this out. Can anyone give a basic example of how to do this? Thank you in advance.
    HTML. Is there a way to change the src of a iframe by clicking a button with your mouse? I have been looking over my HTML book and searching online and I just can not figure this out. Can anyone give a basic example of how to do this? Thank you in advance.
    3 answers · Programming & Design · 7 months ago
  • In HTML how do I make my text scroll with my scroll bars?

    Hi guys. I am having some trouble with getting text on a web page to scroll with my scrollbars. Essentially I have a <div> ... ... </div> I need the stuff in between to scroll with the web page when I use the side scroll bars. I am having trouble figuring out how to do this.
    Hi guys. I am having some trouble with getting text on a web page to scroll with my scrollbars. Essentially I have a <div> ... ... </div> I need the stuff in between to scroll with the web page when I use the side scroll bars. I am having trouble figuring out how to do this.
    2 answers · Programming & Design · 8 months ago
  • C++ how to execute a function on one cpp file from a different cpp file?

    Hi guys. The title says it all. I know that two CPP files can access the same header file but can I have one CPP file execute a function on a different CPP file? If so, how? Thanks in advance!
    Hi guys. The title says it all. I know that two CPP files can access the same header file but can I have one CPP file execute a function on a different CPP file? If so, how? Thanks in advance!
    3 answers · Programming & Design · 11 months ago
  • C++ header file help?

    Hi guys. I am having trouble with a small program that works with CodeBlocks but not with Visual Studio for whatever reason. In my project I have 2 CPP files and a header file that I am trying to use together. Here are the files: == main.cpp // Main.cpp : Defines the entry point for the console application. // #include... show more
    Hi guys. I am having trouble with a small program that works with CodeBlocks but not with Visual Studio for whatever reason. In my project I have 2 CPP files and a header file that I am trying to use together. Here are the files: == main.cpp // Main.cpp : Defines the entry point for the console application. // #include "Burrito.h" #include "stdafx.h" #include <iostream> using namespace std; int main() { Burrito bo; return 0; } === Burrito.cpp #include "Burrito.h" #include "stdafx.h" #include <iostream> using namespace std; Burrito::Burrito(){ cout << "I am a bananna." << endl; } === Burrito.h #indef BURRITO_H
    5 answers · Programming & Design · 11 months ago
  • C++ help.?

    Hi guys. More studying here. Example class statement: —- class c1 : public d1 { } —- In that example statement, what exactly is “public d1” doing? It looks like it is referencing another class. If that is the case, what can it do with that other class exactly?
    Hi guys. More studying here. Example class statement: —- class c1 : public d1 { } —- In that example statement, what exactly is “public d1” doing? It looks like it is referencing another class. If that is the case, what can it do with that other class exactly?
    1 answer · Programming & Design · 11 months ago
  • C++ What is going on with the -> in this code:?

    // Test2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using namespace std; class b { int i; public: void vfoo() { cout << "In Base "; } }; class d : public b { int j; public: void vfoo() { cout << "In Derived "; } }; void... show more
    // Test2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using namespace std; class b { int i; public: void vfoo() { cout << "In Base "; } }; class d : public b { int j; public: void vfoo() { cout << "In Derived "; } }; void main() { int stopper; b *p, ob; d ob2; p = &ob; //What is happening with this: p->vfoo(); // p = &ob2; p->vfoo(); ob2.vfoo(); cin >> stopper; }
    12 answers · Programming & Design · 11 months ago
  • C++ what is :: used for?

    Here is an example I am looking at: A::I A::f() { return 0;} Thanks in advance. I am studying for several tests and I am trying to hammer down some of the finer points of programming.
    Here is an example I am looking at: A::I A::f() { return 0;} Thanks in advance. I am studying for several tests and I am trying to hammer down some of the finer points of programming.
    2 answers · Programming & Design · 11 months ago
  • Find a value of ø that satisfies the condition [0˚, 90˚] that satisfies the statement: sin ø = 0.2239939?

    Thank you guys in advance. I am working on this more and more but this one is eluding me still.
    Thank you guys in advance. I am working on this more and more but this one is eluding me still.
    1 answer · Mathematics · 12 months ago