Archive

How can I make my laptop a wi-fi router? Is it possible?

Read more

What is wrong if adobe keeps crashing? I have 4GB RAM and 64bit OS.

Read more

Would you recommend a proxy server at a homeinternet connection? Is it safe?

Read more

Why does this start up error message continue to appear even after I re-installed my Microsoft Office?

I even followed theinstructions in help manual step by step but this error keeps showing up.

Cannot display the template add in template is not valid template name.

Read more

What should I do? My PC flashed a "Windows rootsystem 32hal.dll error message." I tried rebooting and doing safe mode to no avail. Would I be able to recover my files?

Read more

Hello

I create a simple program that need to rename a bunch of files

  1. #include <stdio.h>
  2.  
  3. int main(){
  4.  
  5. int count;
  6.  
  7. for(count = 1; count <= 95; count++){
  8.  
  9. if(count >= 10){
  10. system("rename "C:\wamp\www\anime\kenshin\Rurouni Kenshin - %d.mkv" "%d.mkv"", count, count);
  11. }
  12.  
  13. /* For the episodes that have 0 before the number e.g 01..09 */
  14. system("rename "C:\wamp\www\anime\kenshin\Rurouni Kenshin - %d%d.mkv" "%d.mkv"", 0, count, count);
  15. }
  16.  
  17. return 0;
  18. }

I always come up on this error "too many actual parameters". I also receive "The system cannot find the file specified."

Can someone help a newbie out?

Read more

Hello,

I recently bought a RealTL8188CU wireless LAN adapter.

It works perfectly in Windows but in Ubuntu Linux it detects the network but does not connect.

What could be the problem?

Anyone could help me?

Thanks.

Read more

I have to import a file of names and then be able to sort them alphabetically I've managed to import the file using the following code

  1. Import java.io.*;
  2. Public class Name{
  3. Public static void main(String args)throws IOException{
  4. String contents;
  5. File f = new File("names.txt");
  6. FileReader fr = new FileReader(f);
  7. BufferedReader br = new BufferedReader(fr);
  8. While (br.ready()){
  9. Contents = br.readLine();
  10. System.out.println(contents);
  11.  
  12. }
  13. fr.close();
  14. }
  15. }

Also I have managed to sort them alphabetically when manually entering the list of names as shown in the code below


  1. Public class DSA1
  2. {
  3. Public static void main(String[ ] args)
  4. {
  5. String[ ] names = {"James", "Anne", "Bill", "Maria", "Bob", "Jill", "Elvis", "Carol", "Dennis", "Mandy", "Steven", "Sian", "Harry", "Linda"};
  6. SortStringExchange (names);
  7. For (...

    Read more

 

I am getting this error with when I compile. I have to turn this assignment in a few hours. Here is the code:

error message(s)

untitled.cpp:34: error: invalid types ‘int[int]’ for array subscript
untitled.cpp:36: error: invalid types ‘int[int]’ for array subscript

// A basic Casear Cipher Encrytion Device.

include <iostream>

include <iomanip>

using namespace std;

define RINGLEN 62


	
  1. // NUM OF CHARS IN ALLOWED CHARACTER SET.

int main () { int i=0; // index variables int j=0; char ring[RINGLEN+1]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; int key = 4; const int size = 1000; char word[size+1];


	
  1. cout << "Please insert the message you would like to encrypt: ";
  2. cin >> word;
  3.  
  4. for (int...

    Read more

Everyday I work for a  long time with my favorite computer. But after working about approximately two hours my mouse is not working at all. Then I am forced to restart my PC. How can i get rid of this problem?

Read more