Jump to content
xisto Community

htdefiant

Members
  • Content Count

    127
  • Joined

  • Last visited

1 Follower

About htdefiant

  • Rank
    Advanced Member
  1. That program crashes my DOS window for some reason. But I think I understand - if I put in 120 and 24, the output would be 0? Thanks for your patience
  2. So, if num2 was 24, it would give me 5 with a remainder of 0?
  3. What does the % symbol do?For example, if num1 has the value of 120 and num2 has the value 2, what will num1%num2 generate?Thanks
  4. I've got an iPhone running AT&T. I have installed 3rd party apps on it - I'll wait until they are updated to work with this firmware before updating.
  5. Here's the deal. I am new at working with web objects in photoshop. I have CS3, and I created a really nice template. I'm told I have to do something with slicing. So I have the template, and it has images, buttons, and text on the buttons, and text fields, etc. How can I export this to HTML and images, and be able to open it up in dreamweaver in an editable web page? I've tried exporting to "web and devices" and exporting as HTML and Images, but when I open it up in dreamweaver, it looks right, but it is all images.Thanks
  6. Sorry Alex - I am very new at this. Here is what I have: main (){ int num1, num2, num3; printf("Please an integer:\n"); num1=GetInteger(); printf("Please a second integer:\n"); num2=GetInteger(); while (num2>1) { } getchar (); return 0; } How do I apply the code you gave me to this base?
  7. Sorry to keep perpetuating this - you've been very helpful - what is that programming in C, not C++?Thanks for you help,A fellow OS X geek
  8. I am not familiar with or loops. Perhaps you could describe the best method to use with a while loop?Thanks for your help.
  9. I'm looking for some brainstorming help. The task is to create a program where the user enters two integers, and have them multiply without using the multiplication function. For example, if the user enters 5 and 10, the program is supposed to go 10+10+10+10+10, not 5*10. I have gotten as far getting input from the user. I am thinking of using a while loop for this. Does anyone have suggestions as to the best way to do this with the while statement? Thanks.
  10. So what would the line be? Yes, there is a function called abs.Something like this:printf("The number %d is negative and its absolute value is %d. \n", num1, abs:num1);?
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.