Monday, May 24, 2010

Where can i get "free" I.C. and PCB simulation applications like SPICE?

I am looking for any legal "free" or open-source copies of the SPICE simulator or any equivalent application. Any copies which are educational and which have good tutorials and help files with them would be ideal. Applications which can do any or all of the following: Integrated Circuit (IC), Board (PCB) level, digital or analog signals, mixed mode. If you can let me know which OS to run under (Win or Linux) then that would be cool.

Where can i get "free" I.C. and PCB simulation applications like SPICE?
www.ti.com


www.maxim_ic.com


register it and get ic in 10 days


free


this for uou


How come all of my c++ programs cut off to soon?

every time i try to run a program they get to the least output and just cut off before i can see anything.i have tried to use system("pause"); and cin.get(); return 1;but neither work.all the tutorials say to use system("pause") but it doesnt work so somebody said to use cin.get(); return 1; so i did and it only works some of the time but cuts off.what can i do to make system ("pause"); work?





#include %26lt;iostream%26gt;


using namespace std;


int main(){


int myArray[3];





cout %26lt;%26lt; "Enter a number: ";


cin %26gt;%26gt; myArray[0];





cout %26lt;%26lt; "Enter a second number: ";


cin %26gt;%26gt; myArray[1];





myArray[2] = myArray[0]+myArray[1];





cout %26lt;%26lt; "The sum is: " %26lt;%26lt; myArray[2];





system ("pause");


}





other 1





#include %26lt;iostream%26gt;


using namespace std;


int main(){


int myArray[3];





cout %26lt;%26lt; "Enter a number: ";


cin %26gt;%26gt; myArray[0];





cout %26lt;%26lt; "Enter a second number: ";


cin %26gt;%26gt; myArray[1];





myArray[2] = myArray[0]+myArray[1];





cout %26lt;%26lt; "The sum is: " %26lt;%26lt; myArray[2];





cin.get();





return 1;

How come all of my c++ programs cut off to soon?
What you can do is open a DOS shell (or whatever Windows uses) and run the program directly from the command line. You will have to cd into the directory where the programs reside.


How to get a C#.NET program to use data in my MySQL database?

I currently have a website with user info and data stored on a MySQL database. I would like to (begin to) create a desktop version of my website, and would like to pull the user's information (such as username and password) from the online database to my local app. Does anyone know of a website that has tutorials to help me accomplish this?

How to get a C#.NET program to use data in my MySQL database?
I haven't used this component, but the recommended way to access databases is to use a Database Provider for that database. That way, if you want to upgrade databases in the future or even maybe migrate to a different database, you might be able to do that by simply replacing the Database Provider





Here is a MySQL Database Provider for dotNET


http://uda.openlinksw.com/dotnet/mt/dotn...





Theoretically, if you use this code, you can use any standard tutorial describing a connection to a different database (like MS SQL) and the application will work.

dried flowers

Anyone know a site from where i can learn programming in c? Also which is easier to learn c or c++?

I really enjoy programming and want to take it to the next level. I need a site where there are lots of sample programs and tutorials to learn step by step. If anyone knows any good e-books for download that would also be helpfull.

Anyone know a site from where i can learn programming in c? Also which is easier to learn c or c++?
http://www.cprogramming.com/tutorial.htm... - is a good online resource





http://www.developer.be/forums/index.cfm... - a forum that has c/c++ developers ready and able to help out.





Also use the MSDN library to get a lot of information.





I've always liked the "bible books" it covers a lot of great info from begginers to advance:


ISBN: 0764546546





Also the complete refference books are garet as well:


ISBN: 0078824761
Reply:CompUSA has some on line classes that you can take. I do believe that I saw this one available.


Help with this C++ code?

Ok, so my friend made this program, I would simply like to know, how do I get it to work.


Any help or tutorials/websites that may help will be good.


Thanks in advance.

Help with this C++ code?
C ++tutorial http://www.dreamincode.net/forums/showfo...
Reply:http://www.linuxselfhelp.com/HOWTO/C++Pr...
Reply:Hi,


Im not understanding this question. Please clarify it. If you want the source code of that program ,Copy it to your computer!


Need help with C++ FSTREAMS!?

This is a very simple code i made to learn how to use fstream:





------------------


#include %26lt;fstream%26gt;


#include %26lt;iostream%26gt;


#include %26lt;cstdlib%26gt;


#include %26lt;string%26gt;


using namespace std;





int main() {


string a;


fstream cra;


cra.open("tape.txt");


if (cra.fail()) cout %26lt;%26lt; "not working" %26lt;%26lt; endl;


cra %26lt;%26lt; "blah blah blah" %26lt;%26lt; endl;


cra %26gt;%26gt; a;


cout %26lt;%26lt; a %26lt;%26lt; endl;


cra.close();


}


------------------





the program inputs the text "blah blah blah" into the file just fine, but it has trouble reading it. I don't really know how to read the file, that's the reason, and the tutorials on various websites haven't helped me.





So can anyone tell me how I can read from the file? Thanks.

Need help with C++ FSTREAMS!?
the problem is that once u write blah blah blah the cursor in the file moves to the end of blah blah blah and after that there is nothing first move cursor to start of file then take input from file it will work.
Reply:Did you try this?


http://www.codersource.net/cpp_file_io.h...


M.a.c makeup?

so.. i wanted to go buy some more mac shadows.. but i've been looking at those youtube tutorials with the mac pigment that look really nice.. does anyone know about which one is better or turns out brighter?

M.a.c makeup?
They're all really great. If you think ones too dark you could put a lighter color underneath or use a shadestick to make it pop more.
Reply:I love M.A.C.! They have the best colors. :)


There are different types of eyeshadow that they cary. Some types have more shades than others.


FROST : An iridescent shine that adds a highlight to any colour. This is good for subtleness.


LUSTRE : Smoothly pearlized; intensely frosted with deluxe ultra-fine conditioned finish.


MATTE : Hi-colour pay-off in a no-shine matte finish. These are pretty thick if you want a lot of pigment.


MATTE² : Intense, opaque matte finish with exceptionally rich color payoff. They go on realllly thick, so if you're looking for bright, rich color, this is your best bet.


SATIN: Pure colour in a satin-style finish. Provides a soft, subtle, non-frost, light-refractive sheen. Also good for highlighting, if you get a light shade.


VELUXE (VLX): Superfine pigment rich and very luxe. Supple to apply. Provides silky smooth matte finish.


VELUXE PEARL (VP): Vibrantly toned. Velvety soft. Shimmeringly metallic. Veluxe eye shadow, now overlaid with high-shine pearl.


VELVET (V): Soft-look finish with high-colour intensity. Has a plush velvety look and feel.


If you go to a M.A.C. makeup counter at Nordstrom, they'll be happy to help you find a nice shade. My favorite shade is Honesty. Good luck! :)

gift baskets

Visual C++ Express 2008 - No Build option??

At the top my version goes - File/Edit/View/Debug/Tools/Window/Help





I've looked at tutorials and they all have the Build option to compile code, but mine isn't there. How do I get it?





I installed the 297mb MSDN pack and everything... help!

Visual C++ Express 2008 - No Build option??
Don't you have a Build menu when you open/create a project? Your menus should go...File/Edit/View/Project/Build....


Learning C++ and looking for a basic program see details?

I'm looking for a basic program that I can type extremely simple code into and see the output. I'm using various free tutorials to learn the language, and I would like to download a (hopefully free) program that I can input basic code into for practice and see the results. Thanks.

Learning C++ and looking for a basic program see details?
Hey, email me, LBphan@gmail.com, i might be able to help you out a bit, ive got some stuff for c++ and c# if youre curious, and ill give you whatever youre looking for free of charge. my name is andy, by the way.


C## Game prgramming?

Im looking to make a morpg like www.tibia.com. I'v asked them if they have any book suggestions or tips for where to start but they said they couldnt help me out. Anyone here got any tutorials or E-books that can help me. Im a complete beginner so need to start at the begining. thanks...

C## Game prgramming?
You can do programming in C#, but that's not the only choice.


If you already have a copy of C# community edition, you can also download something called XNA studio for free.





This is a new wrapper around MS DirectX technology that's quite a bit easier. I didn't say easy. Just easier. Game programming is hard. You can learn it (I've taught hundreds) but you need to be willing to work hard.





My advice?


Learn to program first. The language doesn't matter that much, because you'll learn several before you're done. Don't start with C / C++. While they're good languages and they are used in professional games, they still aren't the best choice for beginners. They are frustrating and difficult languages, and most who begin with them give up before writing a single game. Look at any gaming book in C and you'll agree with me.





I strongly encourage you to learn game programming in 2D first. This will give you the opportunity to learn the things game programmers need to know in a more forgiving atmosphere. Learn things like:


* basic programming concepts - variables and statements


* control structures - loops, branches, functions


* data structures, arrays, dictionaries, objects





Then move on to some gaming ideas, like:


* sprites


* basic movement


* graphics and blitting


* basic motion


* collision detection


* game and sprite states





When you've got these things, you can build pretty much any 2D game.





You'll also have the confidence to handle one of the more challenging 3D environments.





Back to language choices: If your heart is set on C#, it's pretty good, with XNA. You should also consider Flash (most commercially viable game programming skill - EVERYBODY - wants a flash game on thier site.)





I've had great success teaching game programming with Python. It's quite an interesting choice:


* It's free and open source


* It runs on virtually any hardware


* It's nearly as fast as C (because it uses the same graphics engines)


* It's a friendly, easy-to-read language





Feel free to check out my notes on flash


http://www.cs.iupui.edu/~aharris/flash





or python gaming


http://www.cs.iupui.edu/~aharris/python
Reply:There was a PHP book about game programming that has a simple MMOG, but it's not MMORPG, and it's NOT simple to program either. Haven't seen one in C#.
Reply:I wish I knew...


C++ programming?

any good tutorials or books?

C++ programming?
I use http://www.cplusplus.com/ ALL THE TIME to get help with things... Check it out!
Reply:Check programming tutorial websites like http://myitcareer.org/
Reply:www.cplusplus.com

wedding

C++ Arrays and Input files?

I have an input file and there are three variables in each line. How can I take the variables (say x, y, z) and put y and z into two different arrays?





In other words:


(Input file reads : x y z)





Input %26gt;%26gt; x %26gt;%26gt; y %26gt;%26gt; z





y and z needs to be in two different arrays to find mean of each array .





I know its vague, but I can't think of a better way to explain it. I've tried looking at some Array tutorials, but I get lost. Thanks for any help.

C++ Arrays and Input files?
I'm not sure this helps explain anything to you because you don't make it clear what you aren't understanding. So hopefully this helps somewhat.





int main()


{


int x;


int a[10] = {0};


int b[10] = {0};





ifstream infile("mydata.dat");





int i = 0;





while (infile)


{


infile %26gt;%26gt; x %26gt;%26gt; a[i] %26gt;%26gt; b[i];


//presumably do something with x too


i++;


}





for (int j = 0; j %26lt; i - 1; ++j)


{


cout %26lt;%26lt; a[j] %26lt;%26lt; " " %26lt;%26lt; b[j] %26lt;%26lt; endl;


}


}
Reply:from what i understand.





you want something like


int x[50], y[50], z[50];





for (i = 0; i %26lt; 50; ++i)


ifs %26gt;%26gt; x[i] %26gt;%26gt; y[i] %26gt;%26gt; z[i];





An array in C/C++ is declared as


eg: int arr[50];


The caveat is that array index start from 0 not 1.


So arr[0] is valid in C/C++.


The last value in the array is arr[49] not arr[50]


To reference an element in an array.


Use this form: arr[n] where n is any integer value.


It is recommended that n is not less than 0 and not greater than or equal to the maximum declared. In this case, n should be any value from 0 to 49.


Hope this makes things a little clearer on arrays.


I am new to ALL programming, where can I get a compiler that is good for me to learn with?

I am learning it from this site: http://www.softlookup.com/tutorial/c++/c...





If you learned it there, im stuck on the "hello world" thing

I am new to ALL programming, where can I get a compiler that is good for me to learn with?
Looks good, try mocrosoft.com as well
Reply:You have a couple of choices for fee software.





You can get Eclipse from eclipse.org. This is a full IDE (a development environment). I haven't used it for C or C++, but it's excellent for Java.





Or you can go to the GNU site gnu.org. They have a full set of development software.





If you have a little money, then Borland's product is pretty good. They may even have a free version. borland.com, I think.





Good luck.
Reply:Dev C++ is nice. http://www.bloodshed.net/devcpp.html
Reply:http://sourceforge.net/search/?words=com...


These are free compilers.


http://msdn2.microsoft.com/en-us/visualc...


These are not free but you can try them for free.
Reply:Batch files are the simplest and they can be compiled into exe's.


Hello please help me emergency problem !!!!!!!!!!!!!!!?

Hello, I had a great problem that needs the emergency right answer!!!!.


The problem is -----


I had one book called "71 + 10 New Science Projects" and it came with a tutorial C.D.On 6/04/07 Just Before on 10:56 PM Night I wanted to read it, but when I took it from the showcase Suddenly !!!! The tutorial C.D is fallen down and it is cracked.


That tutorial C.D is Original and come with only purchasing the book. So I thought that I lost my Original C.D but i found one little idea that purchasing One blank CD and writing it the contents of Original CD would solve the problem But, when tested the Original C.D the CD Drive is can't read because it is cracked So I can't purchase the book again. Please help me ....... soon as possible

Hello please help me emergency problem !!!!!!!!!!!!!!!?
contact the publisher you may be able to get replacment CD will cost less than buying book
Reply:There may be a site that you can download the contents of that CD from. You'd have to google it, something should come up.
Reply:You might be able to get in touch with the publisher here for a replacement copy:





http://rds.yahoo.com/_ylt=A0geu66ziBZGkU...





Other than that, it is tough to fix a disc that damaged.
Reply:the only thing you can do is go to a data recovery service, like the ones for laptops and stuff, or better to an electronics store and ask for advice.
Reply:hey try some recovery softwares like iso buster or so..but if de CD is too much cracked den try if u can get that sw over internet n write it to another disk......


Can somebody mention a good teach-your-self website tutor for openAL & ALUT in Visual C++ ?

I wanted to start studying about adding my application (mostly games) with sound effects and background music, and my friend refer me for openAL and ALUT instead of DirectMusic and DirectSound, because they said that openAL with ALUT is easier to implement, and able crossplatform, than DirectX component.





Can you mention one or two URLs that gives a handy and clear step-by-step tutorial on how to implement a simple openAL with ALUT (and not just a bunch list of confusing function and documentation only)? I have tried the google and yahoo, but only returns sorts of documentaton websites only. Thanks for all your help.

Can somebody mention a good teach-your-self website tutor for openAL %26amp; ALUT in Visual C++ ?
I've been programming for 20 years and don't know anything about openAL %26amp; ALUT. I know Visual C++ and DirectX.


I know a good free Visual C++ Tutor.





http://www.free-ed.net/free-ed/InfoTech/...





also much more available than just VC++.
Reply:Why don't you try Dewsoft Overseas !. This site serves best of online courses with business oprtunity.

flowers on line

How do I use the radio buttons in microsoft visual studio using visual c++?

i am new to visual studio and i need help understanding how i can use the various items in the toolbox... i havent found a good tutorial yet, that shows exactly how to use the different tools in the toolbox and how their properties can be accessed so that for instance if im making a program that can add or subtract two operands, i can decide what the output will be at runtime when the user choses either a radiobutton called add or the other one called subtract...





if such simple tasks take so long to learn then i donno how the more complicated tasks can be handled...





I'm hoping to learn how to do these things using the internet without having to go resort to a training class in my city...

How do I use the radio buttons in microsoft visual studio using visual c++?
If you're new to programming try Visual Basic 2005 first.


It's quick and easy to learn, then learn C++.


Believe me it is much easier to understand C++ after you learn VB. Because, you will have already learned how to "program" but then will simply have to learn the C++ syntax.


How to send any documet to print on a default printer in C#?

I have a document - any kind of document (.PDF, .DOC, .TXT, .JPG, ...) - and I want to print it on a default printer. Can I print it out and how? (Note that I wan't to print the document, not it's binary representation.)





Some code/tutorial would also be nice.





Thanks.

How to send any documet to print on a default printer in C#?
You can use the System.Drawing.Printing namespace objects ..


Do you have any idea why my form turns black when I use a double buffer? c#?

i followed the tutorial to create this double buffer but from what i can see there is nothing from the tutorial that would case the form to turn BLACK!





the graphics i want to display still show up but the rest of the form is black.





do you have any idea why this might be and how i can fix it?

Do you have any idea why my form turns black when I use a double buffer? c#?
Do you swap buffers? If you keep rendering the front buffer, it will be empty.
Reply:try to change your screen color quality from Right-click on the desktop %26gt;%26gt;%26gt; settings tap


reduce or increase it, may be it works.


Where can i find a website to teach me C#?

if you have a tutorial on hand feel free to post that, or email elitebeat81 if you want to teach directly, then post email teach.


Thanks for anything oyu can do.

Where can i find a website to teach me C#?
This site looks good:





http://www.functionx.com/csharp/index.ht...
Reply:You may also contact C# programmers at website like http://programming.askexpert.info/ .

florist shop

Can someone plz suggest a good source for learning C#?

a source couls be a complete tutorial or a free to download ebook :$ ....thanks in advance

Can someone plz suggest a good source for learning C#?
Here's a list of sites i've used that have been a great help for me in completing many C# projects.


By far thecodeproject is the best source of examples.





I should also mention, that if you have a full copy of Visual Studio, the help files and MSDN library that comes with it is a good source as well.
Reply:yahoo search
Reply:As was mentioned, MSDN Online has several different tutorial projects available which cover different topics and levels of difficulty. Below is a link to the C# tutorial page from the C# Programmer's Reference.
Reply:http://www.w3schools.com/